Open harryt2 opened 8 months ago
If you follow the instructions and install
npm install --save @capacitor-community/admob@5.0.0
It will throw errors about classes like AdmobConsentStatus not being exported.
But if you install npm install --save @capacitor-community/admob@latest
npm install --save @capacitor-community/admob@latest
Everything works fine
Hmm, the instructions are missing the AdmobConsentStatus import.
AdmobConsentStatus
Change the import line to: import { AdMob, AdmobConsentStatus } from "@capacitor-community/admob";
import { AdMob, AdmobConsentStatus } from "@capacitor-community/admob";
If you follow the instructions and install
npm install --save @capacitor-community/admob@5.0.0
It will throw errors about classes like AdmobConsentStatus not being exported.
But if you install
npm install --save @capacitor-community/admob@latest
Everything works fine