Android Empty hosts result in all prefixes being accepted
joeldhenry opened this issue · comments
Joel commented
If you leave host & prefix 2-5 blank, it accepts all prefixes by default:
<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:host="domain.com" android:pathPrefix="/path" android:scheme="https" />
<data android:host=" " android:pathPrefix="/" android:scheme=" " />
<data android:host=" " android:pathPrefix="/" android:scheme=" " />
<data android:host=" " android:pathPrefix="/" android:scheme=" " />
<data android:host=" " android:pathPrefix="/" android:scheme=" " />
</intent-filter>
meaning that anything on domain.com/ will be accepted, rather than just domain.com/path
Sebastian Weiß commented
Same issue here. No fix in sight?
Dmitry Salnikov commented
Same issue, breaks app linking in Android 12.
Bara Aksayeth commented
is there someone know what is the problem with my google play console
this is my conf in package.json
"ionic-plugin-deeplinks": {
"URL_SCHEME": "myweb",
"DEEPLINK_SCHEME": "https",
"DEEPLINK_HOST": "myweb.com",
"ANDROID_PATH_PREFIX": "/",
"ANDROID_2_PATH_PREFIX": "/dummy2",
"ANDROID_3_PATH_PREFIX": "/dummy3",
"ANDROID_4_PATH_PREFIX": "/dummy4",
"ANDROID_5_PATH_PREFIX": "/dummy5",
"DEEPLINK_2_SCHEME": "https",
"DEEPLINK_2_HOST": "myweb.com",
"DEEPLINK_3_SCHEME": "https",
"DEEPLINK_3_HOST": "myweb.com",
"DEEPLINK_4_SCHEME": "https",
"DEEPLINK_4_HOST": "myweb.com",
"DEEPLINK_5_SCHEME": "https",
"DEEPLINK_5_HOST": "myweb.com"
},