M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Configuration file change - Push / Pull?

hi,

I have a configuration file (JSON) residing on a server. This file is sometimes changed on the server side. Is there a way that I can let the mobile app know that the configuration file has changed, so that it can download the updated configuration file?

I know I can do this by regularly polling the server and perhaps checked based on modified date, or the file checksum. But I don't like the idea of regularly polling the server as this method is not very efficient. Moreover some of the clients will be running this on smaller data plans so regular polling will mean more data usage.

Any ideas on this?

Thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Configuration file change - Push / Pull?

M&M,

There are 2 ways
1) once in the period make an update to the server - you mentioned it
2) send push notification from the server to an app

Return to “Issues”