我爲我的應用創建了一個深層鏈接,或者說我還添加了uber://
但是當我從Chrome瀏覽器打開這些內容時,它需要我到Google,它不會將此視爲鏈接,那麼用戶將如何到達到這個鏈接的內容,如果它沒有從瀏覽器打開。如何從手機瀏覽器打開深層鏈接?
我試過了,但它打開了谷歌搜索,並沒有帶我去玩商店。
請指導我如何使用深度鏈接?並通過深層鏈接進入應用程序。
清單
<intent-filter>
<data android:scheme="myapp" android:host="video/>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
您是否添加了與瀏覽器中打開的URL相同的主機和架構? –
深層鏈接不適用於某些Android設備。例如:三星J5和三星J7。鏈接正在默認瀏覽器中打開。 –
[官方文檔](https://developer.android.com/training/app-indexing/deep-linking.html)關於深度鏈接。 –