Welcome! › Forums › Unity Plugins › In-App Web Browser › Android OnApplicationPause and in-app purchase › Reply To: Android OnApplicationPause and in-app purchase
October 22, 2019 at 12:52 pm #1799
It won’t work, because Unity don’t get any callbacks while it’s paused.
I found a poor but working solution.
I close the in app browser just before an in app purchase or a share action that put the application on pause. When the purchase or the share is done, I reopen the browser at the last url.
But this solution doesn’t work with the pause started with the home or overview buttons. The applications crashes in these cases.