Google Play 应用签名和免安装应用

Google Play App Signing and Instant Apps

相当直接的问题。有没有人碰巧知道 Google Play App Signing 是否支持 Instant Apps?我问的原因:

Enter your app’s signing config, or select a keystore file. While it’s possible to use a debug config or keystore during testing, the generated Digital Asset Links file won’t be compatible with the release version of your app. If you do upload a Digital Asset Links file that uses a debug config or keystore, then before publishing your app you’ll need to generate and upload a new Digital Asset Links that uses your app’s release key.

来自博客 post:- How to Create an Instant App Feature

如果此说法属实,游戏机是否提供生成 assetlinks.json 的方法?这是您必须在您声称所属的域上托管的文件。

是的,Google Play 应用签名支持免安装应用。您将使用签名密钥而不是上传密钥,因为 Google Play 将使用签名密钥重新签署您的应用。

Android Studio 提供了生成assetlinks.json 的方法,只需转到Tools > App Links Assistant > Associate Website,然后就可以select 生成正确的密钥库文件。

您也可以通过 Statement List Generator and Tester

手动完成

其他帖子也解决了这个问题

  • Instant App - Digital Asset Links Protocol