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?
Asked
Active
Viewed 193 times
1
-
please try in real device. – Vvk Jan 04 '16 at 06:15
-
i don't have apple watch device..thats why i am facing this issue.. – jayant rawat Jan 04 '16 at 06:55
-
but simulator is not supported. please read Apple Watch Guidelines. – Vvk Jan 04 '16 at 07:09
-
ya..i got that..thanks for reply – jayant rawat Jan 04 '16 at 07:54
-
okay. if u agree then accept my ans. Thanks. – Vvk Jan 04 '16 at 08:52
1 Answers
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