Reply To: Android OnApplicationPause and in-app purchase

Welcome! Forums Unity Plugins In-App Web Browser Android OnApplicationPause and in-app purchase Reply To: Android OnApplicationPause and in-app purchase

#1799
Tethip
Participant

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.