我是否必须使用Play应用签名来为Android应用链接生成SHA_256指纹?我公司通过应用中心发布应用程序

发布于 2025-02-10 06:18:16 字数 596 浏览 3 评论 0原文

我一直在尝试将Android应用程序链接实现到我公司的React Antive应用中,我一直在关注文档我正在努力努力在我的网站上添加 assetlink.json 文件。我看到提到使用 Play应用程序签名,我们的公司不会通过Google Play商店发布,而是通过应用中心发布。因此,为什么我当前的Google Play控制台没有指纹。

还有一个可以使用Keytool命令生成指纹的选项,但是我认为这是正确的举动,因为在我的机器上生成的指纹无法在生产中起作用,对吗?

我的问题是,我们是否必须使用Play应用程序签名来获取适当的指纹用于应用程序链接?还是使用应用中心罚款?如果使用App Center很好,那么在哪里可以找到将SHA_256指纹放入 AssetLink.json文件中?

I've been trying to implement Android app links into my company's react native app, I've been following the documentation and I'm struggling with the part that involves adding the assetlink.json file on my website. I see mention of using Play app signing, our company doesn't release through the google play store instead we release through App Center. Hence, why my current google play console doesn't have a fingerprint.

There is also an option to generate a fingerprint with a keytool command but I don't think this is the right move since the fingerprint generated on my machine wouldn't work in production, right?

My question is do we have to use Play App signing to get the proper fingerprints to use for app links? Or is using App Center fine? If using App Center is fine then where can I find the sha_256 fingerprints to put in the assetlink.json file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

安人多梦 2025-02-17 06:18:16

最后,我最终从AppCenter下载APK并运行

apksigner验证-verbose -print-certs< apk_file

i然后使用

签名#1证书SHA-256 Digest:

作为指纹。

apksigner < / code>作为Android SDK /构建工具的一部分。在Mac上工作,我在〜/library/android/sdk/build-tools/&lt;最新_version&gt;/上找到了这些工具

in the end I ended up downloading the APK from AppCenter and running

apksigner verify --verbose --print-certs <APK_FILE

I then used the

Signer #1 certificate SHA-256 digest:

As the fingerprint.

The apksigner is included as part of the Android SDK / Build tools. Working on a mac I found these tools at ~/Library/Android/sdk/build-tools/<latest_version>/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文