xcode – Silent push with GPS

Question:

Is it possible to start geolocation when receiving Push and send the location to the server.

Answer:

Your application does not become active when receiving a push, only after the user has clicked on the notification. Thus, your application cannot do anything when it receives a push.

In iOS 10, by the way, when a push is received, it will be transmitted to your application for additional customization before it is shown to the user. Perhaps what you want to do will be possible in ios10.

Scroll to Top