My Android App behaves different when i reopen the App via Icon or "Recent Apps Window Collection (This Button with all open windows on Android)"
My Goal:
App is running and i want it to open like i left it when i click the App Icon
I tried changing the AndroidLaunchMode, but the App restarts when i click on the icon. If i open my App over my Recent Apps Window (where i see my current View) it opens at the position i left it. So it should work somehow right?
I have a Cordova Application and i set the AndroidLaunchMode with:
<preference name="AndroidLaunchMode" value="standard" />
<preference name="AndroidLaunchMode" value="singleTask" />
<preference name="AndroidLaunchMode" value="singleTop" />
<preference name="AndroidLaunchMode" value="singleInstance" />
All seem to do the same. I don't even know what the right one would be.
What do i wrong? Or do i understand the AndroidLaunchMode wrong and need to change something else?
UPDATE:
AndroidLaunchMode does not appear in the final AndroidManifest.xml. The problem seems to be something with cordova config.xml file ..