Hi guys,
My app loads the Admob like below, and when home-button is clicked <1second after the app is loaded, the ‘applicationSuspend’ state is not received . This causes the app to hang, and upon reloading it, it will just show a blank screen until Android OS ask to close the app (will take around 1 minute). After that it can load again, but the problem persists if user clicks the home-button fast.
- app starts and calls a composer scene
- in scene:show(did), ‘admob.init’ is called
- When admob listener receives '_event.phase == “init” ’ , _will check for admob.isLoaded( ‘banner’ ), and if it is false, will call admob.load( ‘banner’)
Problem is the check for admob.isLoaded() before calling admob.load()
If I remove the admob.isLoaded(), the problem does not seem to show and ‘_applicationSuspend’ _is received.
I think the docs should add this clause in it.