0

I've defined custom intent filter to handle deep links in my react-native based app but it does not work like expected for mobile browsers.

 <intent-filter android:label="MyApp" android:autoVerify="true">
            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.catergory.BROWSABLE"/>
            <data android:scheme="heroapp" android:host="space" />
 </intent-filter>

When I try to open link in the following form: heroapp://space from e.g. Slack conversation it works like a charm. On the other hand, when I try to run this link from mobile browsers (e.g. Chrome) it does not run the app and instead of that, treats this is as a normal query.

Am I doing something wrong? Is that way of working supported? Or it's necessary to create bound with the real domain that will redirect to an app (Digital Asset Links JSON)? I would like to avoid this solution as the the custom scheme it totally enough for my needs. I need to send the success url to the integration partner that should redirect the user to the app again.

Maxim
  • 13
  • 4

0 Answers0