以编程方式检查Play商店应用更新 [英] Programmatically check Play Store for app updates

查看:175
本文介绍了以编程方式检查Play商店应用更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经把我的应用程序在谷歌Play商店。已经安装了很多我公司的客户。我理解的应用程序是如何打算升级的机制。

I have put my app on the Google Play Store. It has been installed by lots of my company's customers. I understand the mechanism of how the app is intended to upgrade.

用户应该检查在他们想自动更新的每个应用程序Play商店中的自动更新复选框。摆在首位但是也有一些用户未选中与否检查了。

The users should check the auto-update check box in the playstore app for each app they want to auto-update. However some users have unchecked it or not checked it in the first place.

我写的应用程序是为保健行业,并且由护理人员提供家庭护理。我们的一些客户有我的照顾者1200。他们必须将所有护理人员打电话到办公室单独更新手机。这显然​​是不能接受的。

The app i have written is for the care industry and is used by carers to deliver homecare. Some of our customers my have 1200 carers. They would have to call all the carers into the office to update the phones individually. This is obviously unacceptable.

有没有一种方法以编程方式检查是否有我的应用程序的Play商店?

Is there a way to programmatically check if there is an updated version of my app on the Play Store?

我可以运行在每次用户启动检查Play商店应用程序的时间code?
如果有一个更新的版本,则用户可以被引导到Play商店中。这将意味着具有自动更新检查它不是必需的。

Could i have code that runs every time the user starts the app that checks the Play Store? If there is an updated version then the user could be directed to the playstore. This will mean it is not essential to have the auto-update checked.

在此先感谢

推荐答案

为什么你需要这么惨更新应用程序?你应该得到最重要的数据的API。

Why do you need to update the app so badly? You should get most of important data from an API.

的反正不是连接到EXTERN的API(如谷歌Play商店)。
还有的是,在一些谷歌的API认证变化的危险,所以你应该检查当前的应用程序的版本code是下面的版本号,你从你的API获得。

Anyways instead of connecting to extern api's (like google play store). There is a risk that something changes in the api authentication of google, so you should just check if the version code of the current app is below the version number you get from your api.

请记住,如果你更新你的应用程序,你在应用程序的版本你自己的云API变更版本。

Just remember if you update your app you change version in your own cloud api with the app version.

此外吉拉德什么,如果设计变更和HTML改变加了很多的数据。

Also Gilad what if design changes and html are changed plus a lot of data.

最好的解决办法,我认为是。
使自己的网站或API的文件,使用版本nummer
检查您的应用程序如果在手机使用的版本低于版本nummer显示对自己的API /网站。

Best solution I think would be. Make a file in your own website or API, with the version nummer Check in your app if the version used on the mobile is below the version nummer showed on your own api/site.

表示,他需要更新警报

这篇关于以编程方式检查Play商店应用更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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