Hi @karpovpw, has there been any progress on the second phase of the updates, i.e. the SDK update from Admob that fixes the Interstitial issue on iPhone X? Has Corona already included this in a daily build?
Thanks!
Hi @karpovpw, has there been any progress on the second phase of the updates, i.e. the SDK update from Admob that fixes the Interstitial issue on iPhone X? Has Corona already included this in a daily build?
Thanks!
Hi dislam,
There is still no updated guides, but admob actually released their new sdk update, that includes iX support and second admob plugin update is already in work. Will be released asap.
The newest release is online! B)
Now every ad type displays correctly on iX.
Does this mean you don’t have to set a y value by hand for banner ads by looking if the device is an iPhoneX first?
So using y=“top” is the way to go?
Hi d.mach,
Banner position inside iX safe areas was corrected quite some time ago. You can look 4 posts above yours for detailed info.
This release includes newest admob sdk update:
So it’s the things that we cannot fix on Corona side that got finally updated (interstitial, r.video).
Perhaps it is good to update this post on what is the latest Admob version being used.
https://forums.coronalabs.com/topic/67506-admob-plugin-update-paid-plugin/
Hi Falcon777,
You are absolutely right, thanks for the tip!
Great! Thanks for your hard work.
Sorry for my ignorance, but do I need to download the latest daily build to get the updated plugin, or will the updated plugin be automatically added from Corona’s servers when I build my project?
EDIT: Look slike I don’t need to do an update to the daily build. The interstitial ads seem to align fine now when I rebuild.
EDIT 2: Were landscape interstitials fine before? Is this just a portrait-mode interstitial fix?
Hi dislam,
This update will be available to all corona builds starting from 2017.3049.
Well, about interstitials, chriz_raz wrote a post above, which shows that for him landscape/portrait inters are showing correctly even without new sdk update. But for my case, both landscape and portrait weren’t displaying correctly inside iX safe areas. And since this is completely under-the-hood-admob-update, I can’t say anything more about it.
Hi,
I just started work on a new app using build 2017.3184. I’m noticing that banners do not show up on the XCode simulator for the iPhone X, whereas it does for all other devices. Interstitials are fine however.
I’m using these arguments:
ads.show(“banner”, {y = “top”})
Hi dislam,
Looking into it.
Well, for me everything works correctly, as before.
What we’ll need from you is a bug submission at https://portal.coronalabs.com/bug-submission. Make sure to include a sample, so that we can reproduce a bug.
Also, what about listeners, can you check them? Maybe you are getting some kind of a “no fill” error specific for iX? You can try a VPN connection if it’s a banners filling error. I know that this is unlikely, but I cannot reproduce an issue for myself in any conditions.
Thank you for your quick reply and for taking your time to check this out.
I just realized it may be a problem at my end (or Apple’s?). Since I hadn’t created a specific Apple provisioning profile for this app, I used a wildcard ‘test’ profile - and this is where the banner did not show up, although the interstitial did. However, now I see that if I choose an existing profile for one of my other apps, then it shows up fine.
So for now I think we’re okay!
Yeah, no fill errors are mainly caused by wrong provision profile. Google should somehow associate your app with an advertising campaign that you are setting up in Admob’s dashboard. Provision profile stores info like an app ID, which helps google identify your app and present you a correct ad. All of that applicable for a banner ads specifically, can’t say much about other ad types, since mobile ads is not exactly my field of activity.
I am occasionally encountering a lack of understanding of how provision profiles work, so it’s nothing to be ashamed for or something. Glad that we are figured out everything quickly.
As always, feel free to ask any questions and concerns - it’s easier to resolve any issues together!
Okay, I just tried creating a new Provisioning Profile for the app, for both Ad-Hoc Distribution and App Store Distribution.
Neither profile will show the banner ad in the XCode simulator for iPhone X; however if I change to another app’s provisioning profile the banners show up fine.
I’m wondering if it will take a day or two for the new provisioning profile to work in the sim. Again, this only happens on the damned iPhone X.
As I’ve said, I’m not that good with a marketing, but shouldn’t you register your provision profile on an Admob’s dashboard or something? You can ask their support team for a guidance on this kind of stuff.
I don’t think AdMob requires the provisioning profile details. As I’ve done in the past, I just created a new Ad Unit ID for the banner and another for the interstitial, and integrated that into my code.
However, another thing I have to do is, once the app shows up in the App Store (and Google Play store), I need to associate that App ID in the AdMob dashboard with that specific app so that it shows the real icon in the dashboard rather than a blank one. This usually take 48 hours for AdMob to see the new app in the app stores. Maybe this is how they associate the provisioning profiles for the iPhone X.
Anyways I’ll give it a couple of days and sees how it goes (my app isn’t submitted yet though). I’ll check the google discussion group for additional help.
I think you are in good shape now. The show function provides y-position control:
https://docs.coronalabs.com/plugin/admob/show.html
SSK2 has detection code for all iPhones:
https://github.com/roaminggamer/SSK2/blob/master/ssk2/system.lua
if ( ssk.system.oniPhoneX ) then elseif( ssk.system.oniPhone8 or ssk.system.oniPhone8Plus ) ...
Thx for the info.
AdMob has some info here and they are talking about an updated sdk for interstitials from their end… see the last paragraph on this site:
https://developers.google.com/admob/ios/x-ad-rendering
Thx again!
Is the XCode simulator intentionally not showing banner ads for the iPhone X? I can’t get it to show any landscape banner ads whereas it works for other simulated devices.