Google Play App Signing and Instant Apps

北慕城南 提交于 2019-12-31 03:05:10

问题


Fairly straight forward question. Does anyone happen to know if Google Play App Signing supports Instant Apps? The reason I ask:

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.

From Blog post:- How to Create an Instant App Feature

If this claim is true, does the play console provide a means for generating a assetlinks.json? This is the file that you must host on the domain you are claiming to be affiliated with.


回答1:


Yes, Google Play App Signing supports Instant Apps. You will use your Signing key instead of the Upload key because Google Play will re-sign your app with the signing key.

Android Studio provides a way to generate the assetlinks.json, just go to Tools > App Links Assistant > Associate Website, then you can select the correct keystore file.

  • Add Android App Links > Associate your app with your website

You can also manually do it through the Statement List Generator and Tester

Other posts have also addressed this

  • Digital Asset Link verified by Android Studio, but not pass in Google Play Console
  • Instant App - Digital Asset Links Protocol


来源:https://stackoverflow.com/questions/46488635/google-play-app-signing-and-instant-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!