Force PhoneGap app to always run in single-instance mode

I’m not really familiar with all config-file possibilities, but perhaps this would solve things:

<gap:config -file 
platform="android" 
parent="/manifest/application">
<activity android:launchMode="singleTop"></activity>
</gap:config>

Source: PhoneGap Build applications ignores single instance setting article.

Leave a Reply