-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] FCM enhancements #462
Conversation
Signed-off-by: Dan Cunningham <[email protected]>
Signed-off-by: Dan Cunningham <[email protected]>
Signed-off-by: Dan Cunningham <[email protected]>
Signed-off-by: Dan Cunningham <[email protected]>
Maybe |
Signed-off-by: Dan Cunningham <[email protected]>
Signed-off-by: Dan Cunningham <[email protected]>
Signed-off-by: Dan Cunningham <[email protected]>
@mueller-ma how about |
Actually i guess My original thought was that the only action that makes sense when clicking on the notification is a navigate command. So i was not planning on supporting a command action. Playing devils advocate, i guess supporting the same "action" we have in action buttons here would give the user more power, and might be easier to explain, and i guess i could see sending a command to an item when clicking to do something like an acknowledgment @mueller-ma let me know if you have an opinion. |
After sleeping on it, i kinda like making the "action" format consistent, and that format can be used both in the on-click, and in the dynamic actions buttons. |
Signed-off-by: Dan Cunningham <[email protected]>
** Edited with updated JSON **
This will support allowing openHAB to send much more complex data types to FCM. This also helps support actions, specifically with IOS and dynamically creating actionable categories.
see openhab/openhab-android#3193
sample push payload from openHAB might look like