1

I am working on apple watch app & implementing actionable notifications.Can we test these notifications on a watch simulator rather than testing them on real device?

jayant rawat
  • 318
  • 2
  • 12

1 Answers1

1

No actionable 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

If your iOS app supports local or remote notifications, Apple Watch displays those notifications at appropriate times. When one of your app’s local or remote notification arrives on the user’s iPhone, iOS decides whether to display that notification on the iPhone or on Apple Watch.

Vvk
  • 4,031
  • 29
  • 51