Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
642 views
in Technique[技术] by (71.8m points)

android - 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. 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 determines that an application is an update based on two criteria only:

  • 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:versionCodeshould be higher, in your AndroidManifest.xml file. Of course, your APK should be signed with your account's private key, like any application you publish under your account.

All the rest is up to you.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...