Thanks for all your best works. It seems the extension will work well for both Android and iOS.
And just my opinion, someone could improve the iAp extension. For my last try, it did not work at all with newest Android library. Donation can be made from other devs.
Iāve tested extension on Android with the latest Google Play Services 49 (ie Mobile Ad SDK 20.6.0) and Android SDK 31.
Both debug and release versions show ads fine for me, Iāve tried interstitial only.
Android now requires to have new permission <uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
, I will update github version soon.
I see some warnings about depreciated methods in the extension, but not sure how to check what these methods are.
Does anyone know?
I will check iOS version of the extension next.
Extension works fine for iOS as well with the latest Mobile Ads SDK 9.4.0, just required some minor updates.
The only problem, I had the same error with initWithAdSize:GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth
as @Greg209, looks like itās SDK bug. So, I have commented it out for now, ie. Adaptive Banner is not going to work, other sizes should be fine, letās hope they will fix it soon.
I will update github version next week.
Hi @pozirk.
Just tried the latest from GitHub and apart from a couple of things Iāve now managed to get the test adverts working on both Android and iOS. Thanks for the update. One thing I did differently was to setup the repo using haxelib dev <path to folder>
and building manually rather than using the buildPackages.sh and installPackages.sh.
The couple of things are :
- In the repo, the folder āframeworksā has a typo in it - āframworksā without the āeā.
- I wanted to test on an iOS device and had to modify the AdmobEx.mm Ln #387 to specify an explicit device ID for testing, as it didnāt work trying to establish the ID in code. The ID I used came from the console output when I tried the build originally.
Thanks again.
Yep, Iāve fixed framworks
.
buildPackages.sh and installPackages.sh are from original haxe extension, Iāve never used them myself.
Was something confusing about test ads for iOS, but regular ads worked fine for me, so I didnāt test that.
Itās different for Android, for debug build, you need test ads for them to work.