This class implements the Google Open Ads feature: https://developers.google.com/admob/ios/app-open
It is compatible with B4i v10+.
Usage:
call Initialize when the app starts:
And call ShowAdIfAvailable in B4XPage/Application_Foreground:
It is compatible with B4i v10+.
Usage:
call Initialize when the app starts:
B4X:
OpenAd.Initialize("ca-app-pub-3940256099942544/5575463023") 'test id
And call ShowAdIfAvailable in B4XPage/Application_Foreground:
B4X:
If OpenAd.IsInitialized Then OpenAd.ShowAdIfAvailable