Hi there,
I was trying to use AdMobFree in v4 and the v4 doc states the following import:
import { AdMobFree, AdMobFreeBannerConfig } from '@ionic-native/admob-free';
I was expecting to import @ionic-native/admob-free/ngx instead. Is it not the way in v4?
I cannot see ngx folder under admobfree so I ended up installing rxjs-compat
However, I get the following error:
index.js:177 Uncaught TypeError: Object(…) is not a function
at index.js:177
at Object…/node_modules/@ionic-native/admob-free/index.js (index.js:186)
at webpack_require (bootstrap:81)
at Object…/src/app/app.module.ts (app.component.ts:11)
at webpack_require (bootstrap:81)
at Object…/src/main.ts (environment.ts:15)
at webpack_require (bootstrap:81)
at Object.0 (main.ts:14)
at webpack_require (bootstrap:81)
at checkDeferredModules (bootstrap:43)
Could you please share your guidance?
Thanks,
Doug