网站上有www.xyz.com/status/homestatus、www.xyz.com/status/rentstatus等。
目前,我已经为www.xyz.com/status/homestatus提供了支持。但我只想通过www.xyz.com/status/*来控制这一点,这样每当用户点击任何链接时,就会重定向到即时应用程序。
然后在应用程序中,我将检查完整的网址,并打开各自的标签,为家庭状态或房租状态。
有什么建议请提
发布于 2018-07-23 20:30:26
在Instant App清单文件中添加以下代码。
<intent-filter
android:order="1"
android:autoVerify="true">
<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"
android:host="www.abc.com"
android:pathPrefix="/status/"
/>
</intent-filter>https://stackoverflow.com/questions/51478774
复制相似问题