本文介绍了如何检测我的应用程序的更新可在谷歌玩吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法,我可以以编程方式检查是否有我的应用程序对谷歌玩,所以我通知用户的更新?我知道,谷歌Android游戏具有自动通知,但我想用我自己的通知/弹出消息更新可用性(有点像什么Viber的应用程序一样)。

Is there a way I can programmatically check if there is an update of my app on google play so I notify users? I know android google play has an automatic notifications but I would like to use my own notification/pop up message for update availability (sort of like what Viber app does).

感谢您

推荐答案

您可以有一个包含安卓您的服务器上的JSON文件:版本code 的最后一个版本,你的应用程序中。 Retrieveng和比较的版本code不会很复杂。

You could have a JSON file on your server containing the android:versionCode of the last version of you app. Retrieveng and comparing the version code will not be really complicated.

此信息不会显示在谷歌Play商店。所以哈克脚本将无法取回这一点。只有的android:的versionName 显示

This information is not displayed on the Google Play Store. So a hacky script will not be able to retrieve this. Only the android:versionName is displayed.

这篇关于如何检测我的应用程序的更新可在谷歌玩吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 16:07
查看更多