I am developing an ios app that uses Dropbox SDK. I want to notify user when any of the files in Dropbox is edited. I dont know If Dropbox provides any API’s but I am thinking Apple’s push notification would be nice. According to my research there is something like /delta in Dropbox SDK but there is not enough resource or example codes out internet to understand /delta.
What I want is:
Dropbox files changes—-> My server detects what is changed and sends to apple—–> Apple push notification service send notification——–> IOS device receive notification
So Currently I completed push notification part of my application, I can send a simple notification to my app with via local apache server and php script. Device receives notification.
My question is how can I achieve
This part Dropbox files changes—-> My server detects what is changed and sends to apple—–>
I do not know how to parse rss feed of my dropbox folder. What language Should I use to parse data on dropbox?
Should I continuously poll and check if any of the files is edited?
or Is there a way that dropbox send a notification directly to my server or to apple notification server so I wont need to poll for changes all the time?
Thanks in Advance
what you would want to is to create a php script that will parse your rss feed and send the push notification to your app. And use a server that allows cron commands so you can continously run this script and check for updates.