Search code examples
iosobjective-cpush-notificationapple-push-notificationsapple-watch

Push notifications on Apple Watch Simulator


Will Push Notifications get displayed on the Apple Watch simulator ? I have run an app that displays push notifications on iPhone 5C. An Apple Watch app is made as a target of this app.

I usually get Push Notifications on this iPhone 5C while any movement is made in front of a live streaming camera. So is it possible to display the same on Apple Watch Simulator?


Solution

  • No push notifications require a device token, which is not available on the simulator.

    You will receive this message: "remote notifications are not supported in the simulator"

    You need to test on device, to test Push Notifications.

    You can use this library to simulate remote notifications though: https://github.com/acoomans/SimulatorRemoteNotifications