uni_links icon indicating copy to clipboard operation
uni_links copied to clipboard

unilinks are not registered by android

Open sveri opened this issue 6 years ago • 0 comments

I'm using android with flutter 1.7.8 and uni_links 0.2.0.

I added an intent to my android manifest to register deep links:

        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data
                android:scheme="shopli"/>

Now when I test this by using the adb shell and call: am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "shopli://shopli.sveri.de/d8c9e9a9-a04c-4c8c-aa68-104124333c8f" my app is being notified and acts on it as expected.

But let's say I receive this link via email / messenger clicking on the link will open the browser which then tries to load shopli.sveri.de. I would expect it to open my app instead.

Am I missing something here?

sveri avatar Sep 12 '19 07:09 sveri