有没有办法强迫用户更新我的离子应用程序 [英] Is there a way to force users to update my ionic app
本文介绍了有没有办法强迫用户更新我的离子应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
就像帖子的标题一样.我想知道是否有一种方法可以强迫用户在有较新版本的情况下更新我的ionic应用程序.或至少知道如何通知他们该应用程序有新版本.我的离子cli版本是2
Just like the title of the post. I would like to know if there's a way to force users to update my ionic app if there's a newer version. Or at least any idea how to notify them that there's a new version of the app. My ionic cli version is 2
推荐答案
使用应用程序版本插件,您可以请求用户的应用程序版本.检索后,您可以自己决定版本(不匹配)匹配时的处理方式.例如,您可以使用市场插件打开设备的应用程序商店.
Using the App Version Plugin, you're able to request the users' version of your application. Once retreived, you able to decide for yourself what to do when a version (mis)matched. For example you could open the device's application store using the Market Plugin.
这篇关于有没有办法强迫用户更新我的离子应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文