简体   繁体   English

推送将替换现有应用的Google Play更新

[英]Pushing an update to Google Play that will replace the existing app

I have an app that is currently on the Play Store, and I would like to publish an update that will replace the existing app with another app that is an improved version of the old one. 我有一个应用程序,目前在Play商店,我想发布一个更新,将用另一个应用程序取代现有应用程序,该应用程序是旧版本的改进版本。 They were developed separately, so the two apps are way different, although they serve all the same purposes. 它们是分开开发的,所以这两个应用程序有所不同,尽管它们具有相同的用途。

What needs to be the same in the new version and the old version for me to be able to publish is as an update instead of a brand new app? 新版本和旧版本中我需要发布的内容是否可以作为更新而不是全新的应用程序?

The case you are describing sounds like a complete rewriting of the application. 您描述的案例听起来像是对应用程序的完全重写。 This is perfectly in line with the application update process of Google Play. 这与Google Play的应用程序更新过程完全一致。

Google-play determines that an application is an update based on two criteria only: Google Play仅根据两个条件确定应用程序是更新:

  • the package name of the app 应用程序的包名称
  • and its version code 及其版本代码

To be considered as an update, your new app should have exactly the same package name as the former one (" com.example.myapp "), and its android:versionCode should be higher, in your AndroidManifest.xml file. 要被视为更新,您的新应用程序应具有与前者相同的程序包名称(“ com.example.myapp ”),并且其android:versionCode应该更高,位于AndroidManifest.xml文件中。 Of course, your APK should be signed with your account's private key, like any application you publish under your account. 当然,您的APK应使用您帐户的私钥进行签名,就像您在帐户下发布的任何应用程序一样。

All the rest is up to you. 其余的都取决于你。

If they share the same unique key, you can overwrite the existing app with the new one. 如果它们共享相同的唯一键,则可以使用新的应用程序覆盖现有应用程序。 It doesn't make any difference how much it's changed. 它改变了多少没有任何区别。 Play will automatically take care of notifying exising users of updates, and depending on their settings, update them automatically. Play将自动负责通知有兴趣的用户更新,并根据他们的设置自动更新。

If your new version does NOT share the same unique key, you have no choice but to put up a new app. 如果您的新版本不共享相同的唯一密钥,您别无选择,只能建立一个新的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM