WEB PUSH NOTIFICATIONSIN MENDIX
Anthony Dickinson
ABOUT ME
Bachelor in IT
Master Information Management
Over 7 years experience with low-code
development
3 years Mendix Expert Developer
Recently awarded MVP title
#ItsAlmostMonday
Anthony Dickinson
+31 6 10 37 90 12
Agenda
• Why web push notifications?
• Browser support
• Introduction into web push notifications
• Using web push notifications in Mendix
• OneSignal
Why web push notifications?
Web Push Notifications and Testing with Cypress 4
Why web push notifications?
Web Push Notifications and Testing with Cypress 5
Why web push notifications?
• The one missing feature in web that is available in mobile – app push
notifications
• Allow users to opt-in to timely updates to effectively re-engage them with
customized, relevant content.
Web Push Notifications and Testing with Cypress 6
Browser support
https://caniuse.com/#feat=push-api
Web Push Notifications and Testing with Cypress 7
The components to do web push – create subscription
Source: https://developers.google.com/web/fundamentals/push-notifications/how-push-works
Web Push Notifications and Testing with Cypress 8
The components to do web push – send a push message
Web Push Notifications and Testing with Cypress 9
Source: https://developers.google.com/web/fundamentals/push-notifications/how-push-works
The components to do web push – Push event on device
Web Push Notifications and Testing with Cypress 10
Source: https://developers.google.com/web/fundamentals/push-notifications/how-push-works
Solution
• Push notifications as a service via OneSignal
• Store subscriptions in Mendix
• Implement OneSignal REST API
• Update model to send push notifications to users
Web Push Notifications and Testing with Cypress 11
OneSignal - Pricing
Web Push Notifications and Testing with Cypress 12
Web Push Notifications and Testing with Cypress 13
KEY TAKEAWAYS
• Provide your end users with a consumer grade user experience with tailored
notifications and interactions
• Yes We Push!
• Use a web push service provider like OneSignal
• #SharingIsCaring
• OneSignal Component / module will be finalized this year, early 2020 and
will be published in the AppStore focussing on the first two stages
• Prompt + Subscription
• Sending push notifications to end users
14
Questions
Web Push Notifications and Testing with Cypress 15
THANK YOU
HAPPY HOLIDAYS
SEE YOU IN 2020