Open Notification actions for Chrome on Windows

Discussion in 'Join' started by Adam J, Jun 9, 2020.

  1. Adam J

    Adam J New Member

    Joined:
    Jun 8, 2020
    Messages:
    2
    Likes Received:
    0
    I am a bit confused about creating buttons for notifications received on Windows when using the Chrome extension.

    My understanding is that if I use the webhook like the following example, I should expect to see a maximum of two action button "Yes" and "No" appear on a Chrome notification:
    Code (Text):
    https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?text=Will%20you%20be%20able%20to%20collect%20milk%3F&title=Groceries&deviceId=<id>&apikey=<apikey>&actions=Yes=:=shopyes|||No=:=shopno

    I don't ever see these action buttons.
    • With "Dismiss Everywhere" enabled, I get a notification that contains only the dismiss action
    • With "Dismiss Everywhere" disabled, I only get a notification from the Windows Notification Center that doesn't have any action buttons
    • With chrome://flags/#enable-native-notifications disabled, I continue to get Windows Notification Center notifications even though I expected to get Chrome notifications
    Could some fields be added to the API constructor at https://joinjoaomgcd.appspot.com to specify actions to appear in Chrome/Windows?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. Chrome notifications don't support actions from the API yet, sorry!
     

Share This Page