Deep Link Configuration Issue in Expo: App Links Work via ADB Shell but Not on Device

145 Views Asked by At

I hope someone has seen and solved this problem before. I have a problem with deep links in expo. I am sure I have correctly configured and hosted the applinks file. Deep links open with this adb command
adb shell am start -W -a android.intent.action.VIEW -d "https://app.example.com" com.example.app

but not this command adb shell am start -W -a android.intent.action.VIEW -d "https://app.example.com" com.example.app

Consequently, links opened on the device itself, whether browser or through other apps does not open up my application. I have used adb shell pm get-app-links com.example.app to confirm the hosted asselinks file is verified.

These intents are in the app Manifest

<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"/>
        <data android:scheme="com.example.app"/>
        <data android:scheme="exp+example-app"/>
        <data android:scheme="fb12****18050****3"/>
      </intent-filter>
      <intent-filter android:autoVerify="true" data-generated="true">
        <action android:name="android.intent.action.VIEW"/>
        <data android:scheme="https"/>
        <data android:host="app.example.com"/>
        <category android:name="android.intent.category.BROWSABLE"/>
        <category android:name="android.intent.category.DEFAULT"/>
     </intent-filter>

Any help or suggestion would be appreciated

0

There are 0 best solutions below