Welcome! › Forums › Unity Plugins › In-App Web Browser › Android OnApplicationPause and in-app purchase › Reply To: Android OnApplicationPause and in-app purchase
October 17, 2019 at 10:06 am
#1763
Tethip
Participant
I understrand this will be a tricky one.
Unity doesn’t catch events when it’s paused. Not even javascript messages from the browser.
So when my app resume after the purchase (but still on pause == true), I can’t do anything except naviguate the web trough the browser.
The only solution I found is to close the browser, and only then, OnApplicationPause(false) is sent by Unity. But I Have to do it manualy, because I can’t detect any event to do it automaticly. Not very user friendly.