如何获取 Expo 的 assetlinks.json 的 sha256_cert_fingerprints?

2024-03-03

android通用深度链接的说明需要您上传.well-known/assetlinks.json以供验证。 Expo 深度链接文档指示您按照官方 Android 文档格式化文件,但该文档假设您正在使用 android studio 来构建您的应用程序。https://developer.android.com/training/app-links/verify-site-associations https://developer.android.com/training/app-links/verify-site-associations

sha256_cert_fingerprints:应用程序的 SHA256 指纹 签署证书。您可以使用以下命令来生成 通过 Java keytool 进行指纹:keytool -list -v -keystore my-release-key.keystore

该文档也不清楚其价值是什么namespace需要是。


我只是想把这个放在这里给所有世博用户,我花了太多时间试图解决这个问题,而答案却非常简单。幸运的是,谷歌在控制台游戏商店中为您提供了完整的 JSON 文件,此外,我们不需要更改命名空间,因为此命名空间字段不是特定于应用程序的,请将其保留为android_app

导航至:Google Play 商店 > 所有应用程序 > 选择有问题的应用程序 > 设置 > 应用程序完整性

At the top there is a tab called "App signing" enter image description here


Next Scroll to the bottom and you'll see a field that contains all the JSON you need that you can copy into your file: App Store Screenshot

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何获取 Expo 的 assetlinks.json 的 sha256_cert_fingerprints? 的相关文章

随机推荐