Welcome! › Forums › Unity Plugins › In-App Web Browser › Android OnApplicationPause stays Paused issue
Tagged: cialis mp3
- This topic has 15 replies, 4 voices, and was last updated 3 years, 4 months ago by Piotr.
-
AuthorPosts
-
November 13, 2019 at 1:36 pm #1834TethipParticipant
Hi,
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 means NO Update(), NO in-app browser callbacks, NO javascript communication with Unity, no coroutine, nothing from Unity, just the web view.
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 #1931TethipParticipantup
OnApplicationPause(true)
is called when the browser is closed.- This reply was modified 4 years, 9 months ago by Tethip.
December 17, 2019 at 9:43 pm #1933PiotrKeymasterIf I send you source code is this something you could fix by yourself?
December 18, 2019 at 10:00 am #1936TethipParticipantI could try to take a look, thank you.
December 21, 2019 at 6:54 am #1942PiotrKeymasterSent it on your email
December 21, 2019 at 9:32 am #1944TethipParticipantGot it.
I’ll keep you informed, but it will be after christmas holidays.
Thanks!
June 25, 2020 at 1:38 pm #2054JuanMParticipantHi! 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 #2058PiotrKeymasterGuys, 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 #2063JuanMParticipantSure thing.
My email is juanignaciomolteni@gmail.comJune 28, 2020 at 9:44 am #2066PiotrKeymasterSent you github invite.
August 10, 2020 at 9:17 am #2168Vinay MeenaParticipantHello guys,
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 means NO Update(), NO in-app browser callbacks, NO javascript communication with Unity, no coroutine, nothing from Unity, just the web view.
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 #2174PiotrKeymasterLet me check that – probably plugin has to be updated so it will use latest Android SDK versions.
August 19, 2020 at 6:07 pm #2189PiotrKeymasterI 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 #2190PiotrKeymasterI 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 #11768TethipParticipantHi Piotr,
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!
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.