ionic-team / ionic-plugin-deeplinks

Handle deeplinks into your Ionic/Cordova apps from Universal Links, App Links, and Custom URL schemes. For those using Ionic 2, there are some nice goodies that make life easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Empty hosts result in all prefixes being accepted

joeldhenry opened this issue · comments

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

related to #229
and #165

Same issue here. No fix in sight?

Same issue, breaks app linking in Android 12.

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