Skip to content

Commit 43439ba

Browse files
committed
Use AndroidLaunchMode instead of <edit-config>
1 parent adfd008 commit 43439ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ xmlns:android="http://schemas.android.com/apk/res/android"
9292
</feature>
9393
</config-file>
9494

95+
<config-file target="config.xml" parent="/*">
96+
<preference name="AndroidLaunchMode" value="singleTask" />
97+
</config-file>
98+
9599
<config-file target="AndroidManifest.xml" parent="/manifest/application/activity">
96100
<intent-filter android:autoVerify="true">
97101
<action android:name="android.intent.action.VIEW"/>
@@ -102,10 +106,6 @@ xmlns:android="http://schemas.android.com/apk/res/android"
102106
</intent-filter>
103107
</config-file>
104108

105-
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity">
106-
<activity android:launchMode="singleTask" />
107-
</edit-config>
108-
109109
<source-file src="src/android/FirebaseDynamicLinksPlugin.java" target-dir="src/by/chemerisuk/cordova/firebase" />
110110

111111
<dependency id="cordova-support-android-plugin" version="~1.0.0"/>

0 commit comments

Comments
 (0)