My web/mobile applications use APNS, and it works without problem. In my understanding, APNS is to notify mobile users once there is new information for that user from my web server, like new friend request etc.
I have another use case. For example, the user modified some alarm clock setting at web application, the same alarm clock setting need to apply to mobile application for that user. How can I push this setting into mobile application without user triggering.
(for example, user indicated alarm at 7am and 8am at mobile application side, this information is synced to server side. Later when user indicated he needs another alarm at 9am from web application, how do I push this to mobile application so that user gets alarmed at 7am, 8am and 9am?)
Is it possible to achieve this?
Thank you for your time!
If you have a web service, then when your app launch, you can make 1 request to the server to ask for the server’s version of the alarm.
Update your alarm on the local device to match.