How to enable notification on applewatch? - ios

I can get push notifications on an Iphone device, but I cannot get them on apple watch,please advise.
On simulator notification test works, but on real device it doesn't work.

iOS will decide where best to send any notification. It will not just send to both devices.
If iOS thinks it is best to display it on your phone, then it will notify there or vice versa.
iOS automatically makes that decision using facts such as you are wearing the Watch, because if you're not wearing the Watch, there's no point in sending a notification there.

To test the receiving of notifications do the following:
Turn of the iPhone's screen.
Take on the Watch. It must be on your wrist.
The watch has the heart beat detector. Therefore, the watch will know if it is not wearn or not and only displays notifications if you wear it.

Related

Apple Watchkit notifications

I have an iOS application where I incorporate rich notifications and add images and actions. Unfortunately these look great on the phone and very poor on the watch. I'm having a hard time finding out if I can customize the look of the watch kit notifications without actually providing functionality for a watch kit app.
I want to just customize the notification it receives from my iOS app. Can I do this? Is it just adding the watch target? If so will it show up on the watch face and if so what happens if i click it?

Send a notification to the iPhone while connected to an Apple Watch

I want to make a button on the Apple Watch that, when tapped, will send a notification to the iPhone making it beeping and turning on his screen. Trouble is that, when iPhone is paired to an Apple Watch, all notifications plays on the Apple Watch. Is there a way to send a notification exclusively to iPhone?
Edit: Technically should be possible, this app do that! https://itunes.apple.com/it/app/lookout-free/id434893913?mt=8

open iPhone in foreground from the watch os2

Is there any way to bring iPhone application into the foreground by pressing a button in the Apple watch
any way other than handoffs!
No, it is not currently possible. WatchConnectivity just serves to exchange data between the two devices, not for changing their statuses.
Of course you may activate a local notification from the watch on the iPhone upon clicking which the coupled application goes to the foreground, but it shall still require an action by the user on the iPhone.

how to trigger notification from iPhone on iWatch

A noob question. I want to receive a notification when variable changes on the iOS app. to be clear. I want show notification on iWatch app when for example the user presses a button on the iOS App.
I have seen many tutorials for using the notifications interface. but all of them doesn't specify how to trigger the notifications from iPhone.
Anyone who knows a proper guide?
Thank you
Your notifications will go to your iPhone or your Apple Watch, depending on the device that you're using.
iOS will take care of notifications if your ios app supports notifications.
If your iPhone is unlocked, you get notifications on your iPhone, instead of your Apple Watch.
If your iPhone is locked or asleep, and your Apple Watch is unlocked and on your wrist, you get notifications on your Apple Watch.

iOS push notification brings back old notifications to the lock screen

I use Parse to send push notifications to iOS devices. This works fine. But SOMETIMES (Here is the question mark) there is a weird behavior:
Send push notification to a device... I swipe/tap it on the device and everything is ok. It is no longer visible on the lock screen, but on the notification center (Pull down menu). Alright!
Send another push notification to this device while iPhone screen is off... Notification appears, but also the old notification appears again (Even when it is one day old) and both sounds are being played almost simultaneously.
An Parse employee answered this question:
It's rare, but can happen when an app sends a lot of similar
notifications to the same device. It's a known problem on our side,
it's on our plate to get fixed.
See here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/parse-developers/Zo3xBRLWttc

Resources