226
Views
6
Comments
[PWA PushWoosh Sample] Push notifications with PWAs
pwa-pushwoosh-sample
Mobile icon
Forge asset by Ricardo Costa
Application Type
Mobile
Service Studio Version
11.10.8 (Build 37957)

Hello,

I would like to implement push notifications in a PWA. I've searched the Forge and forums and see some discussions regarding this, but I have not seen any complete answers.

The closest that I have been able to get is the sample Forge component referenced above, however I'm having trouble understanding some of the instructions.

I'm open to other solutions whether they use PushWoosh, OneSignal, or something else.

2021-05-18 02-27-17
Manish Gupta
Champion

Hello Dan

If you are not confident with that component and know about OneSignal Push Services, Please feel free to use this component: https://www.outsystems.com/forge/component-overview/1697/onesignal-notification-plugin


It has 400+ downloads and 5 Ratings. 

Please check the demo here: http://www.outsystems.com/forge/component/1698/onesignaldemo/ 


To learn how to register an app for Android go to: https://documentation.onesignal.com/docs/firebase-cloud-messaging-fcm


To learn how to register a push certificate for iOS go to: https://documentation.onesignal.com/docs/generate-an-ios-push-certificate


I hope this will works for you to implement Push Notification in Mobile App. 

UserImage.jpg
Dan Kozlowski

Thank you for your reply. Will this component work as a PWA?

I tried using the OneSignal Plugin published by OutSystems R&D which is a bit more up-to-date, but it requires Cordova so it will not work as a PWA.

2021-05-18 02-27-17
Manish Gupta
Champion


Yes, you can use the OneSignal Notifications to Web, PWA, Mobile App or any device. Please check the documentation from OneSignal and use the Component for Services:

https://documentation.onesignal.com/docs/push-notification-overview


Please remember:  PWA push notifications fall under the category of web push. 

UserImage.jpg
Dan Kozlowski

I'm sorry but I don't think this component is supported anymore. I get an error "Cannot read property 'OneSignal' of undefined" when I try to run the demo and OutSystems recommends using their version of the plugin in this thread.

2021-05-18 02-27-17
Manish Gupta
Champion

Ahh, I see. Thanks for sharing this. So, to run the PUSH in your PWA - are you trying using this: https://www.outsystems.com/forge/component-overview/2119/onesignal-plugin

Or still you have any question further to implement it? 

2021-05-18 02-27-17
Manish Gupta
Champion

Here is one demo app for assistance: https://www.outsystems.com/forge/component-overview/8124/onesignal-demo

Also, you can refer to this discussion for PWA

Feel free to ask in case of any question further. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.