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