Page 1 of 1

Configuration file change - Push / Pull?

Posted: Sun Feb 01, 2015 6:03 pm
by M&M

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


Configuration file change - Push / Pull?

Posted: Mon Feb 02, 2015 7:23 am
by Evgene Karachevtsev

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