Deep links on android without a custom url scheme

Please provide the following:

  1. SDK Version: 45.0.0
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I’ve been able to implement universal linking with iOS properly, but I can’t seem to get it working for Android. I’ve followed the guide at docs.expo.dev/guides/linking but still no success.

I’ve added the following property to the android section of my app.json:

"intentFilters": [
  {
    "action": "VIEW",
    "data": [
      {
        "scheme": "https",
        "host": "*.ngrok.io",
        "pathPrefix": "/d"
      },
    ],
    "category": [
      "BROWSABLE",
      "DEFAULT"
    ]
  }
]

I’m then creating a new android build, downloading the apk file, and dragging it over to the simulator.

I then run

adb shell am start -a android.intent.action.VIEW -d "https://mycustomsubdomain.ngrok.io/d"

However, the link just opens in a browser window. I’ve also tried creating the link in a chat window and clicking it, but the same thing happens.

I’m not trying to implement the auto verify. Presenting a dialog to the user where they can choose their desired handler is what I’m after.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.