Expo深度链接配置问题:ADB Shell可打开但设备端无法触发
Expo深度链接无法通过浏览器/第三方应用唤起问题
已完成以下操作:
- 正确配置并托管了applinks文件,通过
adb shell pm get-app-links com.example.app确认assetlinks文件已验证通过 - 使用ADB命令可正常唤起应用:
adb shell am start -W -a android.intent.action.VIEW -d "https://app.example.com" com.example.app
问题:在设备端通过浏览器或其他应用打开https://app.example.com链接时,无法唤起我的应用。
以下是应用Manifest中的intent-filter配置:
<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>
恳请各位提供帮助或排查建议。
内容的提问来源于stack exchange,提问作者Ryon Whyte
相关产品推荐
相关产品推荐

