[MOD-2538] iOS 13: Interstitial ads are opened in the new modal style window with Admob Module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-09-20T21:58:21.000+0000 |
Affected Version/s | Release 8.2.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | engSchedule, iOS13 |
Reporter | Abir Mukherjee |
Assignee | Vijay Singh |
Created | 2019-09-10T16:51:10.000+0000 |
Updated | 2019-09-21T06:41:32.000+0000 |
Description
Having a problem with iOS 13 and the Admob Module. With iOS 13 it opens interstitial ads in the new modal style window so you can see the app behind it. I do not think it should be like this.
Google needs to fix their Admob SDK, this is not a Titanium issue.
[~amukherjee] Hans is right. We are calling their API to present view controller from [here](https://github.com/appcelerator-modules/ti.admob/blob/5f696a71e1766fe086b254f04edf11e3a06fe13d/ios/Classes/TiAdmobView.m#L225). Probably In latest Admob SDK, it may have been fixed. I'll check.
I have not tested with Admob SDK 7.49.0 to see if it was fixed. I have not had the time to update a module with it. But I did report the issue to Google, will update if they respond.
I just verified it. It is fixed in 7.49.0. Will create PR.
Ah awesome, thanks Vijay :D
PR - https://github.com/appcelerator-modules/ti.admob/pull/91
Any update on if this PR has been merged now that iOS 13 is officially out now?
Yeah. It’s merged. You can get updated module from https://github.com/appcelerator-modules/ti.admob/releases .
Thank you Vijay. I see the module folder is now 150 MB+ in size is that normal?
Yeah. It's normal. You can see the major size of this folder comes due to frameworks inside platform/ folder.
FR Passed. PR Merged. Closing.
This module does not seem to work or has some issue. It crashes every time I open the simulator with the module. Even with the example provided. I'm using 8.2.0 GA SDK.
After running some more tests I finally got the app to not crash on start up but I get the following error. It still does not work.
See the doc. “ If using module 2.5.0+, add following key in tiapp.xml, inside ios plist section.
Thanks for letting me know about that. I still get tho with 2.5.0 of the module now.
But doesn't tell me anything more.