Is it possible to set the Android launchMode to singleInstance using CloudMake?
Similar to Solved: Set parameter in AndroidManifest.xml or info.plist... - Esri Community, I want to add a property to the AndroidManifest.xml file. I specifically want to affect the launchMode which, through CloudMake, defaults to singleTask (line five in the sample below). The launchMode setting isn't specified in Edit appinfo - ArcGIS AppStudio | Documentation.
From the AndroidManifest.xml file:
<activity android:configChanges="fontScale|keyboard|keyboardHidden|
locale|navigation|orientation|screenLayout|screenSize|
smallestScreenSize|uiMode"
android:label="@string/app_name"
android:launchMode="singleTask"
android:name="com.arcgis.appframework.QmlApplicationActivity"
android:screenOrientation="unspecified" android:theme="@style/AppTheme"
android:windowSoftInputMode="adjustResize">
Solved! Go to Solution.
Thanks @TrevorFrame. Is there a plan to allow greater customisation of the Android Manifest in future? I'd be happy to submit this as an idea.
I'm specifically wanting to patch the StrandHogg vulnerability that applies to all Android versions up to Android 10 where singleTask could allow for task hijacking.