首页 > 解决方案 > Deep link with # in url is not redirecting to app

问题描述

I have a deep link URL that I want to match for a specific activity of my app: https://example.com/#/auth

The problem is with # in my URL, when I omit it, deep-link works fine. but with # deep link is opening chrome instead of my app.

Here are the manifest meta tags:

<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="https" android:host="example.com" android:pathPrefix="/#/auth"/>
</intent-filter>

标签: androidurldeep-linking

解决方案


推荐阅读