且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否可以用付费版本替换现有的 Android 免费应用程序

更新时间:2022-12-21 12:12:59

你不能也不应该用付费版本替换你的免费应用.

You can not, and should not replace your free app with the paid version.

除非您在应用程序内解锁免费应用程序,否则***做法似乎是创建一个关键"应用程序来解锁免费应用程序中的功能.这个关键应用程序可以从应用程序抽屉中隐藏,这应该可以防止通常与拥有两个应用程序相关的烦恼.

Unless you do a in-app to unlock the free app, the best practice seems to be to create a "key" app which unlocks the functionality in the free app. This key app can be hidden from the app drawer, which should prevent the annoyance usually associated with having two apps.

这样做的另一个好处是所有用户数据都保留在免费应用程序中,一旦用户升级到专业版,您就无需采取任何进一步措施将数据从免费版转移到专业版.此外,即使用户卸载了 pro key 应用,数据仍会保留在免费应用中.

Another benefit of this is that all user data remains within the free app, and once the user upgrades to pro, you do not have to take any further steps to move the data from free to pro. Also, even if the user uninstalls the pro key app, the data will still remain in the free app.

查看此答案,了解从免费应用中检查关键应用的最简单方法 -有很多方法可以做到,这只是一个基本的例子.

Take a look at this answer for the simplest way to do the check for a key app from your free app - there are many ways to do it, this is just a basic example.