- Home /
Question by
err0r_500 · Mar 29, 2015 at 09:37 PM ·
androidapplicationopenurl
go back to the app after leaving it to the Android main screen
Hello, Here's the problem I have : if I leave the app pressing the home button or opening the webbrowser with Application.OpenUrl, and try to go back to it selecting the app in the "Recent app switcher", I always fall back to the very first scene. I set Application.runInBackground = true with no apparent effect on the problem. Any hints? (thanks in advance)
Comment
Answer by supernat · Mar 29, 2015 at 09:45 PM
It's due to the intent-filter. You need to update the Android Manifest.xml file and move the intent-filter from the Proxy activity to the UnityPlayerActivity activity.
http://stackoverflow.com/questions/28888679/mobile-game-restarts-when-using-application-quit