Application with GPS running in background

Let’s see if I’m able to use the right terminology… We are interested in developing an app that can be put in background mode, checking the GPS from time to time and raising an alarm when certain conditions are met. It would behave like some kind of alarm…

Native iOS apps can do that now, but could a Unity app with the right plugin (well, you need one for GPS data, right?) do that?

In relation to notifications, is it possible to add the right code in the XCode project to use App Push Notification?

Yes it would be possible though a bit tricky.
you need to keep in mind: while such a background service is in the background, no graphics must be running, which means that you can’t call into unity at all (you need to pause it when it goes into background and not unpause it until the app is back in forground ie what appcontroller does) while its in the background.
Due to this it might be favorable to modify the AppController or hook in a category that overwrites part of it and calls into the base.

did you found a solution for that, in the end?