Deep Linking Issue on Android

Project Settings

I've read every post (and more) on deep linking but it still doesn't work at all on my Android app, so I was hoping someone could answer the following question.

Does deep linking (not app linking) work on Android if you use a custom scheme and host and side load the app rather than installing it via the Play Store? Everything I've read suggests it should but the URI/URL's don't even appear as URI/URL's on my Android device, which would suggest that the custom scheme hasn't even been registered on the device.

My androidmanifest.xml file contains the following related to deep links.

      <!-- Deep linking -->
      <meta-data android:name="flutter_deeplinking_enabled" android:value="true"/>
      <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:scheme="myscheme" android:host="myhost.com"/>
      </intent-filter>

(Nota that "myscheme" and "myhost" are not the actual one's I'm using, I just put those in above to illustrate my point.)

If I try a URI/URL like "myscheme://myhost.com/whatever" on my device in various applications including browsers, they just don't even register as links at all.

Any help or thoughts at all would be appreciated.

What have you tried so far?

To make sure Android wasn't trying to actually verify the host, which I don't want at this time and shouldn't need to, I manually removed the following line from androidmanifest.com file and regenerated and side loaded the APK file but it made no difference.

<intent-filter android:autoVerify="true">

(I could just try to deploy it to the Play Store but there are many additional steps to do so and I would prefer not to at this point in time.)

Did you check FlutterFlow's Documentation for this topic?
Yes
4
1 reply