Skip to content

Commit

Permalink
Merge pull request #2 from bhaskar-se/remove-additional-host-preference
Browse files Browse the repository at this point in the history
Removed additional host preferences | closes #1
  • Loading branch information
bhaskar-se authored Nov 16, 2022
2 parents bbbbf10 + 848531c commit c32be9c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,9 @@
<platform name="android">
<preference name="ANDROID_PATH_PREFIX" default="/" />
<preference name="ANDROID_2_PATH_PREFIX" default="/" />
<preference name="ANDROID_3_PATH_PREFIX" default="/" />
<preference name="ANDROID_4_PATH_PREFIX" default="/" />
<preference name="ANDROID_5_PATH_PREFIX" default="/" />

<preference name="DEEPLINK_2_SCHEME" default=" " />
<preference name="DEEPLINK_2_HOST" default=" " />
<preference name="DEEPLINK_3_SCHEME" default=" " />
<preference name="DEEPLINK_3_HOST" default=" " />
<preference name="DEEPLINK_4_SCHEME" default=" " />
<preference name="DEEPLINK_4_HOST" default=" " />
<preference name="DEEPLINK_5_SCHEME" default=" " />
<preference name="DEEPLINK_5_HOST" default=" " />

<js-module src="www/deeplink.js" name="deeplink">
<runs/>
Expand All @@ -53,10 +44,12 @@
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="$DEEPLINK_SCHEME" android:host="$DEEPLINK_HOST" android:pathPrefix="$ANDROID_PATH_PREFIX" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="$DEEPLINK_2_SCHEME" android:host="$DEEPLINK_2_HOST" android:pathPrefix="$ANDROID_2_PATH_PREFIX" />
<data android:scheme="$DEEPLINK_3_SCHEME" android:host="$DEEPLINK_3_HOST" android:pathPrefix="$ANDROID_3_PATH_PREFIX" />
<data android:scheme="$DEEPLINK_4_SCHEME" android:host="$DEEPLINK_4_HOST" android:pathPrefix="$ANDROID_4_PATH_PREFIX" />
<data android:scheme="$DEEPLINK_5_SCHEME" android:host="$DEEPLINK_5_HOST" android:pathPrefix="$ANDROID_5_PATH_PREFIX" />
</intent-filter>
</config-file>

Expand Down

0 comments on commit c32be9c

Please sign in to comment.