This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 140
Web Push Notification update with new options and images/badge/icons … #292
Open
kuzmany
wants to merge
1
commit into
mautic:master
Choose a base branch
from
kuzmany:notification-images
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -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) | ||||||||||||||||
|
||||||||||||||||
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 | ||||||||||||||||
|
||||||||||||||||
|
@@ -66,4 +66,17 @@ Don't forget copy these files to root dir of your tracking page: | |||||||||||||||
|
||||||||||||||||
https://yourmauticurl.tld/manifest.json | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
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. | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
|
||||||||||||||||
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)) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.