I am new in mobile development and I have a project to do and I spent the whole past days searching for solution to a problem until I got lost so I hope I can find the final answer here.
I have a server (php & MySQL DB) and developing a mobile app in iOS + Android that retrieve data from the server. The mobile app should take the data from the server in the first run and save it in the phone so whenever it run again it take the stored data.
The server should notify the app "without the user being aware" whenever a change made so that the app can go and update the data immediately.
I thought about using webservice (probably REST with RestKit) or applying sort of timestamps on the server records, which are all not the problem.
My problem is that I can't find a way to let the server itself notify the app about the changes whenever a change happen and allowing the app then to update the new data. I thought about using push notifications but - specially in iOS - it can't be hidden from the users.
So is there a possible way to do it? is it complex? does it worth? other suggestions?
As I said I am new so maybe my thinking wrong so sorry in that case, and I searched through the questions and couldn't figure out an answer for my question.