Tagged: Android OnApplicationPause
November 13, 2019 at 1:36 pm #1834
I’m sorry to bother you with this again, but I really need you to fix the OnApplicationPause issue.
When someone makes something that call
OnApplicationPause(true)(Home button, Overview button, in-app purchase, native share, etc.), if the in-app browser is oppened,
OnApplicationPause(false)is never called when the user go back in the app.
That’s a critical issue.
Thanks for fixing it.
By the way, this is not an issue on iOS.December 16, 2019 at 5:13 pm #1931
OnApplicationPause(true)is called when the browser is closed.
December 17, 2019 at 9:43 pm #1933
- This reply was modified 1 year, 10 months ago by Tethip.
If I send you source code is this something you could fix by yourself?December 18, 2019 at 10:00 am #1936
I could try to take a look, thank you.December 21, 2019 at 6:54 am #1942
Sent it on your emailDecember 21, 2019 at 9:32 am #1944
I’ll keep you informed, but it will be after christmas holidays.
Thanks!June 25, 2020 at 1:38 pm #2054JuanMParticipant
Hi! Im having the same problem. Were you able to solve it? Do you have a recommendation on what I can try?June 27, 2020 at 10:46 am #2058
Guys, I am pretty short on time recently. Could any of you take a look at it? I can give you an access to source code.June 27, 2020 at 11:07 pm #2063June 28, 2020 at 9:44 am #2066
Sent you github invite.August 10, 2020 at 9:17 am #2168Vinay MeenaParticipant
When someone makes something that call OnApplicationPause(true) (Home button, Overview button, in-app purchase, native share, etc.), if the in-app browser is oppened, OnApplicationPause(false) is never called when the user go back in the app.
That’s a critical issue.
I’m facing exactly same issue,When i minimize my game and come back again into game after few time,The inAppBrowser is stopped responding on OnJSCallback.(The following issue is not producible because it works sometimes in older versions of androids and not work in newer versions)
Can anyone find out the solution about the OnApplicatioPause issue?
Please let us know if anyone does.August 16, 2020 at 11:45 am #2174
Let me check that – probably plugin has to be updated so it will use latest Android SDK versions.August 19, 2020 at 6:07 pm #2189
I am in contact with Unity technical support – I believe it’s some weird effect happening on their side. I tried to fix it on native side but couldn’t find any solution. Will keep you posted.August 19, 2020 at 8:14 pm #2190
I might find some temporary workaround.
You can try it out by replacing InAppBrowser.jar file from Plugins/Android with this file.
Vinay Meena, please let me know if it works for you.April 15, 2021 at 10:22 am #11768
Sorry for the long time without answser, many other projects to work on.
I just tried the file with an old LG G3 running Android 5.0, with a basic app build with unity 2020.2.1f1.
I had no OnApplicationPause problem when i go back to the app after pausing (I tried many ways to pause and go back for 5 minutes).
Without this file, the bug was still here.
It looks like its working!
- You must be logged in to reply to this topic.