after upgrade b4a version 12.80. to 13.40, video advertisement doesn't work,
B4X:
After MobileAds_Ready
onConsentInfoUpdateSuccess
consent form dismissed
Consent: OBTAINED
adshelper$ResumableSub_FetchOpenAdresume (java line: 245)
java.lang.RuntimeException: Field: APP_OPEN_AD_ORIENTATION_PORTRAIT not found in: com.google.android.gms.ads.appopen.AppOpenAd
at anywheresoftware.b4j.object.JavaObject$FieldCache.getField(JavaObject.java:307)
at anywheresoftware.b4j.object.JavaObject.GetField(JavaObject.java:182)
at ir.homaware.car.adshelper$ResumableSub_FetchOpenAd.resume(adshelper.java:245)
at ir.homaware.car.adshelper._fetchopenad(adshelper.java:180)
at ir.homaware.car.groupland._loadadmobads(groupland.java:1029)
at ir.homaware.car.groupland$ResumableSub_CheckConsentAndAddAds.resume(groupland.java:875)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:275)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:215)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
at anywheresoftware.b4a.keywords.Common$15.run(Common.java:1857)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
i use adshelper V1.00. after looking for newest version i found V1.01. but it doesn't support video ads.
my project is not b4xpage
I'm happy to release a new beta version of B4A. The prepackaged Android SDK has been updated and is based on the current latest versions of all resources and Android SDK 36. The handling of SDK resources was improved. The built-in themes were updated with the new edge-to-edge feature disabled...
Check this other excellent example from @Jack Cole. To help the new members to make money with B4A, I tried to compile all the relevant Admob code (except mediation) of the forum in this example and put comments and links. This is a work in progress. Any code and sample to improve this example...
I'm happy to release a new beta version of B4A. The prepackaged Android SDK has been updated and is based on the current latest versions of all resources and Android SDK 36. The handling of SDK resources was improved. The built-in themes were updated with the new edge-to-edge feature disabled...
Check this other excellent example from @Jack Cole. To help the new members to make money with B4A, I tried to compile all the relevant Admob code (except mediation) of the forum in this example and put comments and links. This is a work in progress. Any code and sample to improve this example...