Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 474
Zanoni Avatar asked Jul 03 '09 19:07

Zanoni


People also ask

Can you send mobile push notifications without an app?

Pushed allows you to send real-time notifications without developing your own app to iOs, Android and Desktop devices.

How do I fix Apple push notifications?

You can fix an iPhone that's not getting notifications by restarting it or making sure notifications are turned on. You should also make sure your iPhone is connected to the internet so apps can receive notifications. If all else fails, you should try resetting the iPhone — just make sure to back it up first.

How do I send test push notifications?

Send a test notification message Make sure the app is in the background on the device. Open the Notifications composer and select New notification. Enter the message text. Select Send test message.


1 Answers

This answer is outdated. As of 2020 / Xcode 11.4 it's now possible to test push notifications in the simulator

See this full explanation in an answer below

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 OS 3.0 update, you can test this functionality on any device, including the first gen iPhones.

like image 81
casademora Avatar answered Oct 08 '22 13:10

casademora