This probably may be duplicate, but i kind of have specific need.
So, i need a way to fetch data from the server, when a user receive a Push Notification, while the app is not in running state.
i.e. User do receive a notification when in kill state. But doesn't execute the code to fetch data from the server. (iOS and Android)
I have achieved the same, while app is running or is in background.
I read somewhere that I may have to define a service to achieve same, but didn't quite understand it.
Will be grateful, if someone can provide their inputs.