floatinghotpot / cordova-plugin-mmedia

Cordova/PhoneGap for Millennial Media Ad
7 stars 6 forks source link

Android crashes when calling prepareInterstitial #4

Open avivais opened 9 years ago

avivais commented 9 years ago

When we are calling prepareInterstitial the application crashes with the following trace:

screen shot 2015-03-23 at 16 38 34

The call is:

mMedia.prepareInterstitial( {
    adId: "adIdString",
    autoShow: false},
    function() {
        alert( 'success');
    },
    function() {
        alert( 'failure' );
    }
);

The app immediately crashes and of course that no callback is called