mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-22 19:57:51 +08:00
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:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user