How to get data in a web service when receiving a push notifications with application in idle state

0

I have an application that when I receive a push notification needs to connect to my web service to get relevant data for the user.

When the application state is active or in the background it is able to make this connection, but if the application is in its inactive state the connection to the server does not happen.

How do I handle notification when the application state is inactive to make this connection?

    
asked by anonymous 21.07.2015 / 07:01

0 answers