Skip to content

Cannot deep link into the android with uri intent #66148

@chunhtai

Description

@chunhtai

Adds the following intent filter in /android/app/src/main/AndroidManifest.xml

<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="http" android:host="flutterbooksample.com" android:pathPrefix="/" />
</intent-filter>

launch the app using the following adb command

adb shell am start -a android.intent.action.VIEW     -c android.intent.category.BROWSABLE     -d "http://flutterbooksample.com/book/1"

This should launch the app with /book/1 as defaultRouteName, but it launch with /

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityengineflutter/engine repository. See also e: labels.f: routesNavigator, Router, and related APIs.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions