APNS server.. PHP

Discussion in 'iOS Programming' started by mpramodjain, Jun 3, 2010.

  1. mpramodjain macrumors regular

    Joined:
    Nov 20, 2008
    Location:
    Banglore
    #1
    Can PUSH NOTIFICATIONS (socket connection to sandbox via PHP) be tested over LOCAL server or should it be implemented on the remote server for testing.

    If so, is there any difference in the process.

    Also Do anybody know about the process do the Appstore guys test the Push Notifications and App store Features in an APP.
     
  2. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #2
    There's no difference, but if it's a local server it'll still need to access the outside internet, it can't just push from itself to a test phone over WiFi on the same network. It still needs to communicate with Apple's servers in the middle. So they don't care where the server is.

    From what I saw, yes, they tested push (if possible) and in-app purchases.
     
  3. mpramodjain thread starter macrumors regular

    Joined:
    Nov 20, 2008
    Location:
    Banglore
    #3
    Thank you for quick reply,

    Any idea or snippets how they might have tested Push notifications and In-App Purchase.. as notifications are to be send by the Developer/Provider..
     
  4. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #4
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A274b Safari/6531.22.7)

    It'll all depend on how/what the app pushes. One of mine pushes something once an hour. That was easy for them to test obviously. They start the app, it sends the necessary info to my server, the rest is magic :) However it'll push for your customers is how it'll push for the approvers. For in-app purchases they complete the transaction the same way you would while testing. They need to make sure it all works. If you have a button that buys something, they can't assume it'll just work, they test buying it. Same with push. If you advertise that your app pushes breaking news, they'll need to verify that the news gets pushed. It doesn't matter what's pushing. If the push requires some sort of direct input outside the app, you'll need to provide them a way of testing that, like a demo account or something.
     

Share This Page