launchMode needs to be set on <activity>
launchMode is not a valid property on the <application> element, see https://developer.android.com/guide/topics/manifest/application-element.html It must be set on the activity instead, see https://developer.android.com/guide/topics/manifest/activity-element.html
This commit is contained in:
parent
c5c8464970
commit
fa1b4095f5
@ -73,9 +73,9 @@ Add permissions:
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
```
|
||||
|
||||
Set app [launch mode](https://inthecheesefactory.com/blog/understand-android-activity-launchmode/en) inside application props:
|
||||
Set app [launch mode](https://inthecheesefactory.com/blog/understand-android-activity-launchmode/en) inside activity props:
|
||||
```xml
|
||||
<application
|
||||
<activity
|
||||
...
|
||||
android:launchMode="singleTop"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user