Giter VIP home page Giter VIP logo

phonegap-revmob-plugin's People

Contributors

kerryknight avatar

Stargazers

 avatar  avatar

Watchers

 avatar

phonegap-revmob-plugin's Issues

When using Android...

The order of the jars on the Project properties / Java Build Path is important: the revmob jar must be on top of the Android main libs.

Also, calling the revmob.startSession is mandatory on Android and not on iOS.

Both things are wrongly referenced on the docs.

The doc say: “Before showing any ads, you must start a RevMob session with your RevMob Media ID.”
Simply calling the revmob = new RevMob("copy your RevMob Media ID here"); will start a session on iOS but will not start a session on Android.

Also the image: http://sdk.revmobmobileadnetwork.com/images/cordova/java-build-path.png
is wrong. It will not work that way, Android 4.0.3 must be selected and revmob jar must be on top.

Back to the original API?

You write:

I've updated how you start a RevMob session/initialize the SDK. See Installation step #3 below. All other function calls are the same as the official documentation.

I wonder what was the necessary to do so? If I developed the plugin initially I would try to go with the original API:

  1. this allows using the original revmob documentation as well;
  2. less own code to support;

Ads not loading

Hello,

I can't seem to get this plugin to work on iOS. I followed the installation instructions on the Github page, but no ads are displayed on my app. My index.html code is as follows:

<html>
    <head>
        <meta charset="utf-8" />
        <meta name="format-detection" content="telephone=no" />
        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
        <title>Hello World</title>
        <script type="text/javascript" src="cordova.js"></script>
        <script type="text/javascript" charset="utf-8">
            function onDeviceReady() {
                RevMob.initWithAppId("APP-ID");
            }

        function onBodyLoad() {
            document.addEventListener("deviceready", onDeviceReady, false);
        }
        </script>
    </head>
    <body onLoad="onBodyLoad()">
    </body>
</html>

It also appears that the revmob.js file is not loaded in my app. Please let me know what I am doing wrong.

PS: I am using Phonegap 3.5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.