更新使用在应用程序内结算的Andr​​oid应用程序 [英] Updating an Android App that uses In App Billing

查看:141
本文介绍了更新使用在应用程序内结算的Andr​​oid应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个应用程序,它利用在应用程序内结算。我们现在看到的问题如下:

We have an Application which utilizes In App Billing. The problem that we're seeing is as follows:

在应用程序的设备上的版本code是一样发表在Play开发者控制台应用程序的版本code,结算工作正常。

When the versionCode of the App on the device is the same as the version code of the Application published in the Play Developer Console, Billing works fine.

在构建具有更高版本code被上传到Play开发者控制台,在应用程序计费停止工作的应用程序在设备上(用低版本code)说,应用程序不配置为计费。

When a build with a higher versionCode is uploaded to the Play Developer Console, In App Billing stops working on the App on the device (with a lower versionCode) saying that "The Application is not configured for Billing".

这是好的,测试的时候,但问题是 - 什么是行为时,应用程序是在谷歌Play商店?当您更换申请(执行更新),这是否是在野外(以较低的版本code)停止与在应用程序内结算工作?应用程序

This is fine, when testing, but the question is - what is the behavior when the App is in the Google Play Store? When you replace the Application (to perform an update) does the Application that's in the wild (with a lower versionCode) stop working with In App Billing?

如果是这样,人们用它来执行更新有什么方法呢?你强迫购买前​​更新用户?或者是这个问题唯一真正在发布之前?

If so, what approach do people use to performing updates? Do you force the user to update before purchasing? Or is this problem only true prior to publishing?

任何意见将是极大的AP preciated!

Any advice would be greatly appreciated!

谢谢!

推荐答案

只要您上传的新的apk使用相同的密钥作为现有的,那么你应该不会遇到任何问题签署。

As long as the "newer" apk that you upload is signed using the same key as the existing one then you shouldn't run into any problems.

我刚刚测试过了previous版本上运行我的应用程序(版本code为低),并在应用程序内结算仍然有效。

I have just tested running my app with a previous version (version code is lower) and in app billing still works.

需要说明的是,你不能从市场中删除APK,只需将其停用。

The caveat is that you must not delete the apk from the market, simply deactivate it.

但你说的强制更新,我不提示用户无论他们何时打开应用程序更新。

But what you say about forcing updates, I do prompt the user to update when they open the app regardless.

您可能已经阅读它,但这里是官方信息在多个APK。

You may have already read it, but here is the official info on multiple apks.

这篇关于更新使用在应用程序内结算的Andr​​oid应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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