PDA

View Full Version : Location triggered push notification?




TJPK
Jun 10, 2009, 03:04 PM
Absent an app being active is there any way to pole an iPhone to learn its location? I want to send push notifications triggered by location. Assuming user permission is granted is it possible using the new 3.0 push notification service to secure location data?

Thanks



justfred
Jun 10, 2009, 06:58 PM
.

fishkorp
Jun 10, 2009, 09:55 PM
The only way the phone can send it's location to your server is if the app is running.

TJPK
Jun 10, 2009, 10:22 PM
The only way the phone can send it's location to your server is if the app is running.

So the push service (as it would imply) is strictly a one-way data path? There is no way to utilize the service to pole for state information?

fishkorp
Jun 10, 2009, 10:36 PM
All the documentation on how the push service works is in the dev portal. Since 3.0 is still under NDA I doubt people are going to explain in detail how it works. If you're a registered developer read the very helpful section on push notifications, it'll tell you everything you need to know.

But the short answer is, it's not going to do what you're looking for. The gist is you have a server that sends something to Apple and Apple sends it to your phone. That's it.

TJPK
Jun 11, 2009, 08:54 AM
All the documentation on how the push service works is in the dev portal. Since 3.0 is still under NDA I doubt people are going to explain in detail how it works. If you're a registered developer read the very helpful section on push notifications, it'll tell you everything you need to know.

But the short answer is, it's not going to do what you're looking for. The gist is you have a server that sends something to Apple and Apple sends it to your phone. That's it.

Thanks. I appreciate your help.