sstratoti / actionable-notifications-subflow-for-ios

Actionable Notifications Node-Red Subflow for Home Assistant Companion - iOS
34 stars 5 forks source link

Possible Enhancement: Persistent Notification #10

Open coreywilner opened 1 month ago

coreywilner commented 1 month ago

Is it possible on iOS to create a persistent notification that cannot be swiped away? Only way to dismiss is to select an action.

Or, on a swipe away or clear of the notification, get "feedback" into node red that the notification was cleared or swiped away.

sstratoti commented 1 month ago

All depends on what events are fired that node-red can listen for.

image

In this screenshot we're listening for an ios.notification_action_fired. This allows us to trigger the action associated in the output of the subflow.

If you spin up an events listener that doesn't have a specified event type with a debug output, you should be able to see what ios events fire (if any)?