[21:57:25] typescript: C:/Users/BhatRitesh/Desktop/Think-Digital/kamarajar/src/providers/plugin.ts, line: 46
Property ‘AD_POSITION’ does not exist on type ‘typeof AdMob’.
L45: adId : admobId.banner,
L46: position : AdMob.AD_POSITION.BOTTOM_CENTER,
L47: [21:57:25] ngc failed: Failed to transpile TypeScript autoShow : true
[21:57:25] ionic-app-script task: “build”
[21:57:25] Error: Failed to transpile TypeScript
var banner_opt= { adId: admob_key, position:AdMob.AD_POSITION.BOTTOM_CENTER, autoShow: true, overlap: false, offsetTopBar: false };
but with ionic1, what is your config?
Check the file: plugins/cordova-plugin-admobpro/www/AdMob.js (or something), at the top you can find positions and sizes definitions… maybe it can help…
Any progress on this? I tried to replace AdMob.AD_POSITION.TOP_CENTER with 8, that is the same value found in the plugin source code, and I don’t have any error in the code now. Still, ads simple don’t appear and I don’t know how to further debug the issue…