I build an app which receives data from a server. To receive data in realtime, I use socketIO, which works well when the app is currently opened.
Now I want to receive data from the server, even if the app is in background or device is restarted.
- Server has new data (object) to send to specific users
- Server sends data to specific users
- Users get data in background and saves it locally
- Notify if data is relevant
I read about this plugin https://github.com/phonegap-build/PushPlugin but I want to save the data first and let the app decide then when data ist relevant to notify the user.
Thanks for help!