Apple Watch: dynamic Long Look not shown, when pus

2019-01-26 10:39发布

问题:

I implemented a custom dynamic Long Look for push notifications on the Apple Watch. This dynamic long look is shown correctly, when I immediately raise my arm after receiving a push notification. However, if I respond later, and tap on the push notification from within Notification Center on the Watch, only the static long look is shown.

Is this normal behavior or am I doing something wrong? How are your dynamic long looks behaving?


For clarity here are the steps to reproduce.

This will bring up the dynamic long look:

  1. I receive a push notification on the Watch
  2. I immediately raise my arm to see the push

But this will only bring up the static long look:

  1. I receive a push notification on the Watch
  2. Ignore it at first. After one minute activate the Watch
  3. Drag down from top of the Watch face to bring up Notification Center
  4. Tap on the ignored push

回答1:

I suspect all notifications that are accessed through the notifications center of the watch are by default static.

I can't find any documentation to confirm this though. Would be a major bummer if that's the case.



回答2:

I also experience the same problem and it is pretty frustrating because like Sohail my action buttons refer to the dynamic long look notification content. I dont know if I get the apple documentation right here but the following lines sound like the proof to me that apple won´t show your dynamic long look notifications from the notification center:

Use the static notification interface to define a simple version of your custom notification interface. The purpose of a static interface is to provide a fallback interface in the event that your WatchKit extension is unable to configure the dynamic interface in a timely manner. The interface is also displayed in Notification Center.

In the first place I thought this means the notification center just shows the static notification interface in it´s "main table view" but this is not the case. The notification center itself only shows the notification alert message and not the whole interface. So I think what they mean in the documentation is: "The interface is also displayed when opening notifications from the notification center"