Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TJPK

macrumors newbie
Original poster
Jun 10, 2009
3
0
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
 
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?
 
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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.