I tried, @Jack Cole excellent one below
(1) AdsHelper Extension for Traditional B4A apps & more | B4X Programming Forum
But giving error now,
I tried @Erel sample, created a project from the codes on the thread,
FirebaseAdMob2 - Google Mobile Ads SDK v20+ | B4X Programming Forum
But the app just closes without any error, both in release and debug modes.
I understand I need to make some changes as per error to fix them, but do not know where to begin.
In FirebaseAdMob2 thread it is mentioned,
So I am more interested in it, as I had too many problems in Firebase account earlier.
I can attach the sample projects I tried, if it helps.
(1) AdsHelper Extension for Traditional B4A apps & more | B4X Programming Forum
AdsHelper Extension for Traditional B4A apps & more
I wanted to share an update I made to the AdsHelper class and example. Added: support for rewarded video ads events for rewarded video events for rewarded interstitial events for open ads added parameter for open ads for setting the background delay before allowing the ad to show incorporated...
www.b4x.com
B4X:
B4A Version: 11.50
Parsing code. (0.07s)
Java Version: 8
Building folders structure. (0.03s)
Compiling code. (0.13s)
Compiling layouts code. (0.04s)
Organizing libraries. (0.12s)
(AndroidX SDK)
Compiling resources (1.13s)
Linking resources (0.80s)
Compiling debugger engine code. (3.01s)
Compiling generated Java code. Error
javac 1.8.0_261
src\b4a\example\adshelper.java:1235: error: incompatible types: <anonymous OnUserEarnedRewardListener> cannot be converted to RewardedAdCallback
mRewardedAd.show(context, new OnUserEarnedRewardListener() {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
I tried @Erel sample, created a project from the codes on the thread,
FirebaseAdMob2 - Google Mobile Ads SDK v20+ | B4X Programming Forum
FirebaseAdMob2 - Google Mobile Ads SDK v20+
This is a wrapper for Google Mobile Ads v20+ SDK. It is a modified version of FirebaseAdmob (1). This library works with Google Mobile Ads v20+. The previous library works with v19-. Note that you can use FirebaseAdMob2 without creating a Firebase account. It supports banner ads and...
www.b4x.com
But the app just closes without any error, both in release and debug modes.
I understand I need to make some changes as per error to fix them, but do not know where to begin.
In FirebaseAdMob2 thread it is mentioned,
B4X:
Note that you can use FirebaseAdMob2 without creating a Firebase account.
I can attach the sample projects I tried, if it helps.