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
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
You can have your own design for an Ionic application.
- You can track the current version of your application and store the latest application in DB.
- Next step is to compare your current version of the app with the DB and decide what action need to be taken for an APP.
Other solution, you can directly use Force Update of Firebase which is a ready solution for any application.
标签:
ionic-framework