Integrate a native AdMob interstitial ad into your app using Despia. Call a single method at a transition point to trigger a full-screen ad with no await and no return value.
despia("admob://interstitial") is called. The call is fire-and-forget, so your app flow continues immediately with no await and no return value to handle. The ad unit ID and all AdMob configuration is managed through the Despia dashboard.
Installation
You must enable AdMob in Despia > App > Addons > AdMob and configure your Ad Unit ID before interstitial ads will load. Rebuild your app after enabling the addon.
Usage
1. Import the SDK
Importdespia at the top of any file where you intend to show ads.
2. Show the interstitial ad
Calldespia("admob://interstitial") at a natural transition point. This is fire-and-forget with no await and no return value.