Closed leonardop21 closed 4 years ago
After installing the plugin and building the application, I get the error below in the console. Regardless of the ad I have to show
Uncaught TypeError: Cannot read property 'codeplayfacebookads' of undefined
I tried to apply to app.js and index.html
var options={ bannerid:"523519301434xxx_xxxxxxxxxxxxxxx" ,isTesting:true };
cordova.plugins.codeplayfacebookads.showBannerAds(options,success,fail);
function success(result) { console.log(result); } function fail(result) { console.log(result); }
Plugin doesn't properly installed. Plz check it.
After installing the plugin and building the application, I get the error below in the console. Regardless of the ad I have to show
Uncaught TypeError: Cannot read property 'codeplayfacebookads' of undefined
I tried to apply to app.js and index.html
var options={ bannerid:"523519301434xxx_xxxxxxxxxxxxxxx" ,isTesting:true };
cordova.plugins.codeplayfacebookads.showBannerAds(options,success,fail);
function success(result) { console.log(result); } function fail(result) { console.log(result); }