Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Web Push Notification update with new options and images/badge/icons … #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 19 additions & 6 deletions en/notifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ For more information see [One Signal documentation](https//documentation.onesign

##### 2. Setup app Website Push Platforms in you app

![](/media/notification-setup1.PNG)
![](/notifications/media/notification-setup1.PNG)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
![](/notifications/media/notification-setup1.PNG)
![notification setup](media/notification-setup1.PNG)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeat for other image links.

See new CONTRIBUTING for updates on image links.


Google Chrome and Mozilla Firefox configuration example

![](/media/notification-setup2.PNG)
![](/notifications/media/notification-setup2.PNG)

Apple Safari (macOS) configuration example

![](/media/notification-setup3.PNG)
![](/notifications/media/notification-setup3.PNG)

##### 3. Setup Mautic

Enable Web Notification and copy keys from OneSignal to your Mautic > Settings > Configuration - Web Notification Settings tab

![](/media/notification-setup4.PNG)
![](/notifications/media/notification-setup4.PNG)

![](/media/notification-setup5.PNG)
![](/notifications/media/notification-setup5.PNG)

##### 4. Test

Expand Down Expand Up @@ -66,4 +66,17 @@ Don't forget copy these files to root dir of your tracking page:

https://yourmauticurl.tld/manifest.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
https://yourmauticurl.tld/manifest.json
https://example.com/manifest.json

https://yourmauticurl.tld/OneSignalSDKWorker.js
https://yourmauticurl.tld/OneSignalSDKUpdaterWorker.js
https://yourmauticurl.tld/OneSignalSDKUpdaterWorker.js

### Settings

Mautic 2.14.1 added manage notification images and action buttons. Just read tooltip with every new field on add/edit notification with basic info about upload image format and size. Use preview button and see How It should generate.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Mautic 2.14.1 added manage notification images and action buttons. Just read tooltip with every new field on add/edit notification with basic info about upload image format and size. Use preview button and see How It should generate.
[Mautic 2.14.1][release-2.14.1] added manage notification images and action buttons. Read the tooltip for every new field in add/edit notification for basic information about upload image format and size.
Use the preview button and test generation.
[release-2.14.1]: <https://github.com/mautic/mautic/releases/tag/2.14.1>


Note, every supported browser ([see platform support on OneSignal](https://documentation.onesignal.com/docs/web-push-overview)) should generate different type of notificiation ([see Web Push Notification Icons on OneSignal](https://documentation.onesignal.com/docs/web-push-notification-icons) with examples). Also action buttons are supported differently ([see Action Buttons on OneSignal](https://documentation.onesignal.com/docs/action-buttons))

In Mautic you are able to:

- Setting the Icon and Image ([OneSignal documentation](https://documentation.onesignal.com/docs/web-push-notification-icons))
- Customize action buttons ([OneSignal documentation](https://documentation.onesignal.com/docs/action-buttons))
- Manage Time to live [OneSignal documentation](https://documentation.onesignal.com/docs/sending-notifications#section-time-to-live))
- Manage Priority - [OneSignal documentation](https://documentation.onesignal.com/reference#section-delivery))