尽可能升级到一个应用程序已经部署在这两个国家部署两个不同的Andr​​oid应用? [英] Possible to deploy two DIFFERENT Android apps as upgrades to an app already deployed in two countries?

查看:114
本文介绍了尽可能升级到一个应用程序已经部署在这两个国家部署两个不同的Andr​​oid应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我有一个问题。一个我们已经公布了具体的谷歌Play帐户的所有应用,目前公布的澳大利亚和新西兰(同APK在这两个国家)。我们有该应用程序的更新,但是从现在开始,我们将有两个不同国家的两个独立的应用程序。这两个应用程序是从同一个codeBase的排序内置但是有所不同,以迎合两个不同的国家。我们希望让升级过程尽可能顺利,不需要任何澳大利亚或新西兰用户必须手动下载新的应用程序。

So, I have an issue. One of the apps we already have published for a specific Google Play account is currently published in Australia and New Zealand (same APK in both countries). We have an update for that app, but from this point forward, we're going to have two separate apps for the two different countries. The two apps are sort of built from the same codebase but differ to cater to the two different countries. We want to make the upgrade process as smooth as possible, without requiring either Australian or New Zealand users to have to manually download a new app.

因此​​,基于Android的升级规则,我们有:

So, based on the upgrade rules for Android, we have:


  • 在清单为新的应用程序,当前部署的应用程序的软件包名称相匹配的包名。

  • A package name in the manifest for the new apps that matches the package name of the currently deployed app.

一个更高的内部版本code(同为新的应用程序),比目前部署的应用程序。

A higher internal version code (the same for both new apps) than the currently deployed app.

但是,它可能以这样一种方式,用户绑在澳大利亚的谷歌Play商店更新到澳大利亚新应用部署这些,而用户绑在新西兰谷歌Play商店更新到新的新西兰的应用程序?

But is it possible to deploy these in such a way that users tied to the Australian Google Play store update to the new Australian app, while the users tied to the New Zealand Google Play store update to the new New Zealand app?

我看过了href=\"http://developer.android.com/google/play/publishing/multiple-apks.html\" rel=\"nofollow\">多APK准则但它不提供这样做的好方法。也许这是可以分配两个新的应用程序不同的内部版本codeS(也许有彼此分开),并同时公布这两种,但在不同的国家? (然后从每个新版本这一点将推动版本code最多两个这样的版本从未碰到对方。)

I've looked over the Multiple APK Guidelines but it doesn't provide a good way of doing this. Maybe it's possible to assign the two new apps different internal version codes (maybe one apart from each other) and publish both at the same time, but in different countries? (Then from that point on each new release would push the version code up by two so the versions never run into each other.)

推荐答案

您不能以不同的区域部署不同的APK。究竟是什么之间这两个APK的有什么不同?我敢肯定,不管它是什么,你可以在一个单独的APK实施,使应用程序的行为不同根据区域设置应用程序是基于其GPS位置上运行,甚至是(虽然不推荐)。

You cannot deploy different APK's to different regions. What exactly is different between these two APK's? I'm sure that whatever it is, you can implement in one single APK and make the app behave differently based on the locale the app is running on, or even (though not recommend it) based on its GPS location.

这篇关于尽可能升级到一个应用程序已经部署在这两个国家部署两个不同的Andr​​oid应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆