我正在尝试在我的中实现deeplinks,这样用户就可以从浏览器打开应用程序。因此,我在应用程序中的Manifest.xml中添加了deeplinks。这段代码是从adb运行的,但当我试图在浏览器中打开此链接时,应用程序无法打开。导致此错误的原因是什么?我甚至在我的代码中看不到意图
<activity
android:name=".ui.main.MainActivity"
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</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="http"
android:host="example.com"
android:pathPrefix="/"/>
</intent-filter>
</activity>
发布于 2019-09-25 00:03:16
使用Firebase深度链接(希望帮助-完整)
https://stackoverflow.com/questions/58084132
复制相似问题