Send notification to the Watch when iPhone screen is on

We are developing babysitter app for the iPhone and want to use paired iPhone as child unit and the Watch as a parent unit. When child wakes up, we need to send notification from iPhone to Watch.

According to WatchKitProgrammingGuide we need to schedule a local notification on the Watch, when iPhone's screen is on. One way is to send a message via WatchConnectivity and then schedule local notification on the Watch, but when Watch screen is off, messages from WatchConnectivity won't come.

Have you any idea how to show notifications on the Watch when iPhone screen is on?

Thanks

But isn't it much simpler than that?


"Your server sends remote notifications to the user’s iPhone via the Apple Push Notification service (APNs) and those notifications are communicated to the user’s Apple Watch as appropriate."


In your case your iPhone will detect something with the child and send the communication to the user's Apple Watch directly.

Send notification to the Watch when iPhone screen is on
 
 
Q