⛔ The Plugin is under development ⛔
Meta Audience integration for Capacitor apps.
npm install capacitor-meta-audience
npx cap sync
showBanner(...)
hideBanner(...)
resumeBanner(...)
removeBanner(...)
showInterstitial(...)
Display a banner ad in your app.
showBanner(options: AdOptions) => Promise<void>
Param | Type |
---|---|
options |
{ placementId: string; } |
Returns: Promise<void>
Hide a currently displayed banner ad without removing it.
hideBanner() => Promise<void>
Returns: Promise<void>
Resume or show a previously hidden banner ad.
resumeBanner() => Promise<void>
Returns: Promise<void>
Completely remove the banner ad from the view.
removeBanner() => Promise<void>
Returns: Promise<void>
Display an interstitial ad in your app.
showInterstitial(options: AdOptions) => Promise<void>
Param | Type |
---|---|
options |
{ placementId: string; } |
Returns: Promise<void>