This repository was archived by the owner on Aug 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
This repository was archived by the owner on Aug 17, 2023. It is now read-only.
Android app linking fails due to empty hosts #229
Copy link
Copy link
Open
Description
Using the latest version of this plugin, app linking verification isn't launched due to extraneous empty hosts
By "isn't launched", I mean:
- verification process is not event launched : there is no logcat entry for SingleHostAsyncVerifier nor IntentFilterIntentOp
adb shell dumpsys package d
show no entry for my app (whereas when a verification fails there is at least an entry with "ask")
Not working :
<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="www.boks.app" android:pathPrefix="/" 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>
Working :
<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="www.boks.app" android:pathPrefix="/" android:scheme="https" />
</intent-filter>
I have tested this on 3 different Android devices and Android versions.
I think you should find a way to remove the entries for extra hosts when these hosts are not defined. Or maybe if they were empty instead of containging a space ?
pete-mcwilliams, jzplusplus, dmitry-salnikov and markdegrootnl
Metadata
Metadata
Assignees
Labels
No labels