菜鸟教程小白 发表于 2022-12-13 17:13:47

android - 为什么更新应用时 Play Store 需要相同的证书,而 App Store 不需要?


                                            <p><p>即使证书丢失并重新创建,Apple App Store 也允许向应用程序发布更新,但 Google Play Store 不允许这样做。</p>

<p>使用相同的 bundleID 可以将应用程序更新发布到 Apple App Store,因此可以在发布应用程序更新时使用新证书。</p>

<p>那么,为什么 Google Play 商店不允许呢?允许它是安全漏洞吗?还是 Google Play 商店夸大了安全性并不必要地要求相同的证书?</p>

<p>苹果应用商店<a href="https://stackoverflow.com/questions/35454548/ios-application-update-lost-private-key" rel="noreferrer noopener nofollow">allows it</a> </p>

<p>但是 Google Play 商店 <a href="https://stackoverflow.com/questions/4843212/the-apk-must-be-signed-with-the-same-certificates-as-the-previous-version" rel="noreferrer noopener nofollow">does not allow it</a> </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>这与 Play 商店关系不大。出于安全原因,<em>Android</em> 不允许这样做。恶意软件作者会喜欢用注入(inject)恶意软件的替代品替换现有应用程序的能力。要求匹配的签名是 Android 阻止这种情况的方法之一。</p></p>
                                   
                                                <p style="font-size: 20px;">关于android - 为什么更新应用时 Play Store 需要相同的证书,而 App Store 不需要?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/38101586/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/38101586/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: android - 为什么更新应用时 Play Store 需要相同的证书,而 App Store 不需要?