Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

[App Updater] - Check and download updates

$
0
0

Hi there!

I am working on a app to help members of my club quickly access monthly schedules.
Datas are store in a local JSON file that I read with a
$http.get('js/schedules.json').success(function(data){
$scope.data = data;
})
;
No problem here, it work just fine.

Now that I want to share the app I would like to setup a way in the app to check if a new version of the "schedules.json" file is available (when the user is online) and download/replace the local file.

That's how I am thinking to manage app updates.

Two questions for you guys:
1- How can I setup this updating-process?
2- Is there a better way to manage this issue?

Thank you for helping!


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>