We've had our application building through PGB for many months now and today we've noticed that on Android whenever we press the circle button to go to the home screen and then launch the application again it starts a new instance instead of opening the existing one. It works fine on iOS and also the version we have in Beta on the Google Store (which was built through PGB about a 2 months ago) works fine also.
We did upgrade to CLI 6.3.0 about 3 weeks ago but not sure if its related to that. Haven't messed around with the AndroidLaunchMode either so its running the default setting.
Any idea what we can try?
Huh, odd. Can you check to see what your android:launchMode is set to in AndroidManifest.xml? If you don't have access to it you can run "aapt l -a name.apk" where "name.apk" is the file name of your Android apk. Also, check to see if your phone has developer mode enabled and if "Don't keep activities" is checked under the "Apps" section of "Developer Options". My educated guess is that the latter is what is happening.
I checked the AndroidManifest.xml and its set to "singleTop". Developer Options have it unchecked. We're now doubting ourselves if it ever worked properly as there are some mixed opinions between the devs. To be honest its not something we ever actively tested. By following this article we just managed to find a solution to force the launch mode: android - Phonegap single instance - Stack Overflow
Changing the settings in config.xml as per the instructions here didn't work Config.xml - Apache Cordova