7
Views
6
Comments
[PWA PushWoosh Sample] Push notifications with PWAs
Forge component by Ricardo Costa
0
Published on 23 Apr 2020
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.

Rank: #632

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. 

Rank: #41579

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.

Rank: #632


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. 

Rank: #41579

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.

Rank: #632

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? 

Rank: #632

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.