简体   繁体   English

如何强迫用户更新应用程序?

[英]How to force users to update app?

I have a condition where the internal DB will be changed and after the migration the old app will no longer work. 我有一个条件,即内部数据库将被更改,并且在迁移后,旧应用将不再起作用。 Is there a way that google play or apple app store provides any flag which does this job? Google Play或Apple App Store是否有提供提供此工作标志的方法?

Also I don't have any version check in my current app (which is already with customers) so cannot display any message in the current app to download new app and ask them to update or quit the app. 另外,我当前的应用程序(已经与客户一起)没有任何版本检查,因此无法在当前应用程序中显示任何消息来下载新应用程序并要求他们更新或退出该应用程序。

I am using Adobe Flash Builder 4.6 to create IOS & Android apps. 我正在使用Adobe Flash Builder 4.6创建IOS和Android应用程序。

You can not force users to update the application but you can send them push notification for updating the application if they want to and you have implemented into current version. 您不能强迫用户更新应用程序,但可以发送推送通知以更新用户的应用程序,如果他们愿意并且您已实现为当前版本。

But when you release the update they are able to get notify by app store and if they want they can install the update from there.. 但是,当您发布更新时,他们可以通过应用商店获得通知,如果他们愿意,可以从那里安装更新。

As you cannot force users to update the app using Google play or AppStore build-in feature, you can use third party librairies that do exactly what you want. 由于您不能强迫用户使用Google Play或AppStore内置功能来更新应用程序,因此您可以使用完全符合您想要的功能的第三方库。 appgrades.io allows you to block any version of your app by displaying a view or popup (that you can customise on appgrades Dashboard ) with a custom message to ask your users to update the app. appgrades.io允许您通过显示视图或弹出窗口(您可以在appgrades Dashboard上进行自定义)来阻止应用程序的任何版本,并显示一条自定义消息,要求用户更新应用程序。 You can even add an update button that sends the users to the appstore/Google play where they can update the app. 您甚至可以添加一个更新按钮,将用户发送到appstore / Google Play,他们可以在其中更新应用程序。 No code needed. 无需代码。 Just integrate the SDK in your app and block any version anytime. 只需将SDK集成到您的应用中,即可随时阻止任何版本。

The other solution would be coding what appgrades does by checking with your api the latest available version and block the app with a view when you are running a lower version. 另一种解决方案是通过使用api检查最新可用版本来编码appgrades的功能,并在运行较低版本时阻止该应用程序的视图。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM