我有一个 json 对象
区域 : CIRCLE (28.625360369528934 77.2227479486792, 3135.6)
如何使用 WKTreader 解析它?
假设有一个网站https://www.example.com 并且我们正在 使用以下意图过滤器在 Android 应用程序中收听https://www.example.com/product
<intent-filter 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:host="www.example.com"
android:pathPrefix="/product"
android:scheme="https" />
</intent-filter>
Run Code Online (Sandbox Code Playgroud)
并且文件 assetlinks.json 也托管在 example.com 上
Android 应用程序链接按预期工作正常。
现在,如果用户转到浏览器并打开 example.com 并且用户单击将在应用程序中打开的https://example.com/product但我们希望仅当用户在我们的网站上时阻止应用程序打开
任何帮助将不胜感激。