1

I try to call my app on a specific url. To do that I use this intent-filter in the manifest :

 <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="https"
         android:host="mapi.staging.mysite.com"
         android:pathPrefix="/myredirectionurl" />
 </intent-filter>

this do work with Google Chrome, Ecosia and Samsung Internet but don't with Xiaomi's default browser, UC Browser, CM Browser, Opera and Firefox

Poch
  • 11
  • 2
  • 1
    I think it's up to the browser how this behavior is handled. Xiaomi might just force all links to stay in the browser. – TheWanderer Oct 22 '18 at 14:31
  • 1
    I try with the Xiaomi browser and facebook and it works :/ – Poch Oct 22 '18 at 14:34
  • Facebook is probably using verified links: https://developer.android.com/training/app-links/verify-site-associations. Xiaomi's browser might only allow those. – TheWanderer Oct 22 '18 at 14:37
  • I'm using those applinks with the assetlinks.json on my server. Everythings is working properly on other browser – Poch Oct 22 '18 at 14:42
  • I'm not sure then. You could try decompiling the Facebook APK and checking how it receives the applinks. – TheWanderer Oct 22 '18 at 14:43
  • 1
    https://github.com/facebook/facebook-android-sdk/blob/master/samples/RPSSample/AndroidManifest.xml I compare to this but still don't see the problem. – Poch Oct 22 '18 at 14:48

0 Answers0