I need my application receives push notifications in order to update the information that is locally stored. These notifications has to be received when the app is in foreground and in background without user interaction. Actually i have got the app receive push notifications in foreground without this user interaction but when the app is in background the push notification is shown by the phone and it has to be opened by the user in order the app receives the event of “notification arrived”.
What i need is a way to receive notifications in background and these are not visible for the user and, at the same time, are received by the app.
Thanks in advance