I am trying to figure out how to process a push notification when the app is in paused mode, I am getting confused because. I also need process location updates in background mode as well. does someone ahve an example of what the appevent resume, resumed and paused would look like and what the corresponding code in the BG files would be to process a location update and look at the push notification when it is received in the background and update the badge counter on the app.
Thanks.