WatchKit local notification does not fire when simulator is locked

Hi


I've a test app (I'm using the Simulators) on the phone that schedule local notifications. The notifications are shown on the Watch only if the watch face or another app are shown. The notifications are not shown if the Apple Watch Simulator is locked with Command+L.


As I understand, in this state the simulator should impersonate a Watch with the display shut off (not in the locked screen) so I should see the notifications.


Someone have any clue?


Thanks

MB

I don't think Command+L stands for "display shut off".

Command+L will "Lock" Apple Watch Simulator as shown in Hardware menu.

When Apple Watch is locked it doesn't receive any notification.

However the Simulator's behavior is a bit different from the actual device.

Thanks for the answer. It could be the case indeed but I'm unsure as I encountered the same behaviour with a real device (no notification when the screen is off, simply putting the arm down). I wonder if is there any way to test local notifications with the simulator as it seems that there is no way to simulate the "display off" state (if it is not Command+L).

WatchKit local notification does not fire when simulator is locked
 
 
Q