Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Android Empty hosts result in all prefixes being accepted #255

Open
joeldhenry opened this issue Sep 19, 2021 · 3 comments
Open

Android Empty hosts result in all prefixes being accepted #255

joeldhenry opened this issue Sep 19, 2021 · 3 comments

Comments

@joeldhenry
Copy link

joeldhenry commented Sep 19, 2021

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

related to #229
and #165

@wujood
Copy link

wujood commented Mar 24, 2022

Same issue here. No fix in sight?

@dmitry-salnikov
Copy link

Same issue, breaks app linking in Android 12.

libotony added a commit to vechain/ionic-plugin-deeplinks that referenced this issue Sep 8, 2022
@baraaksayeth
Copy link

image

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"
      },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants