Monday, February 21, 2011

How can I test Apple Push Notification Service without an iPhone?

Is it possible test the Apple Push Notification Services without an iPhone application? (Creating an emulator on windows?)

If isn't, how could I test that? Is there a free sample application compiled to do that?

I created the Server provider, but I need test the functionallity.

From stackoverflow
  • Sorry to say, but you'll need to find some hardware to test this functionality.

    Push notifications are not available in the simulator. They require a provisioning profile from Itunes Connect, and thus are required to be installed on a device. That also means you'll probably have to be accepted into the apple iPhone developer program and pay your $99.

    On the bright side, with the iPhone 0S 3.0 update, you can test this functionality on any device, including the first gen iPhones.

  • The simulator does not do Push Notifications.

    And to push from a server, you have to have device(s) to push to as well as your app on that device.

    The token contains the app identity as well as the device ID.

0 comments:

Post a Comment