被更新停止我的应用程序(自动更新被禁用) [英] Stop my app from being updated(auto-update is disabled)

查看:404
本文介绍了被更新停止我的应用程序(自动更新被禁用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑到用户有我的第1版和自动更新选项的​​应用程序将被禁用/关闭。我在市场上我的应用程序升级(版本说2)。
用户得到通知的说法,可用的更新,更新我的应用程序。
现在,基于一些要求,我需要我的应用程序不能升级到2.0版本。
可以这样做?

Consider that user has my app with version 1 and auto update option is disabled/off. I have an upgrade in the market for my app(say version 2). User gets a notification saying, "updates available" and updates my app. Now based on some requirement I need my app not be be upgraded to version 2. Can this be done?

推荐答案

这是一个非常奇怪的问题?
它不能这样做,因为应用程序将被更新为当用户更新应用程序,因为这是更新应用程序的概念,新一...
你可以,但是,在code,其中,如果你不希望发生新的更新code做这些分化,只需调用旧的......然后你就会里面有2套的逻辑您code,你会根据你的决策运行正确code

That's a very odd question... It can't be done, since the application WILL be updated to the new one when the user UPDATES the application as this is the concept of updating the app... You can, however, do these differentiations in the code, where if you don't want the new updated code to occur, just call the old one... Then you'll have 2 sets of logics inside your code and you will run the correct code based on your decision

这篇关于被更新停止我的应用程序(自动更新被禁用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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