And*_*eek 7 android intentfilter android-instant-apps
上传失败
您应该同时使用 http 和 https 作为 Web 意图过滤器的方案。
将免安装应用程序上传到 Play 商店时出现此错误。我已经在 Manifest 中声明了 http 和 https 的意图过滤器,如下所示。
<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="XXXX" />
</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="https"
android:host="XXXX" />
</intent-filter>
Run Code Online (Sandbox Code Playgroud)
您能否让我知道可能出了什么问题,以及为什么我在上传到 Play 商店时出现此错误?
尝试申报IntentFilter这样的
<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" />
<data android:scheme="https" />
<data android:host="yourhost.ru" />
<data android:pathPattern="/featurePath" />
</intent-filter>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2443 次 |
| 最近记录: |