Concept | Mac | Windows | Mobile | Required | Default | Data type | Explanation |
---|---|---|---|---|---|---|---|
Message |
Opera Firefox Chrome IE |
Opera Firefox Chrome IE |
Opera Firefox Chrome |
Yes | N/A | String or Dictionary | The message body |
Title |
Opera Firefox Chrome IE |
Opera Firefox Chrome IE |
Opera Firefox Chrome |
No | The name of the origin web page | String | The message title |
Image |
Opera Chrome |
Opera Chrome |
No | N/A | String (URL) | A URL with a link to a resource to be shown as rich content in the body of the push message. | |
Badge |
Opera Chrome |
No | The browser's app icon | String (URL) | A URL with a link to an image resource that will be shown as the web page's icon in the mobile status bar and notification drawer. | ||
Icon |
Opera Chrome IE |
Opera Chrome |
No | N/A | String (URL) | A URL with a link to an image resource that will be shown as thumbnail style image of the notification. | |
Deeplink |
Opera Firefox Chrome IE |
Opera Firefox Chrome IE |
Opera Firefox Chrome |
No | N/A | String | A URL that should be used as the redirect when the notification is clicked |
Actions |
Opera Chrome |
Opera Chrome |
Opera Chrome |
No | N/A | Object | A dictionary with three actions. The actions should be a title, icon, and deeplink. They will be rendered as the potential actions that can be taken from this notification. |
Renotify | Opera | Opera | No | False | Boolean | Determines the behavior if a second notification comes in with the same unique identifier. If set to true, the user's device will notify them once again (with visual alert, sound, or vibration). If set to false, the user's device will silently update the notification. |