当我打开此链接时,我会重定向到未知页面(代码:404)。
我在AndroidManifest中使用此过滤器:
<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:host="play.google.com"
android:scheme="https"
android:pathPattern=".*" />
</intent-filter>
这里有什么问题?
答案 0 :(得分:0)
过滤器没有任何问题,除非您不应该使用它,因为您声称您的应用应该处理所有https://play.google.com个链接。 PlayStore应用已经在做了。
您应首先获得有效链接以使深层链接正常工作。
您能解释一下您想通过深层链接实现的目标吗?