Location triggered push notification?

Discussion in 'iOS Programming' started by TJPK, Jun 10, 2009.

  1. TJPK macrumors newbie

    Joined:
    Jun 10, 2009
    #1
    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
     
  2. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #3
    The only way the phone can send it's location to your server is if the app is running.
     
  3. TJPK thread starter macrumors newbie

    Joined:
    Jun 10, 2009
    #4
    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?
     
  4. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #5
    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.
     
  5. TJPK thread starter macrumors newbie

    Joined:
    Jun 10, 2009
    #6
    Thanks. I appreciate your help.
     

Share This Page