Page 1 of 2

Local Notification from Ionic 4 PWA

Posted: Tue Aug 18, 2020 12:18 pm
by brendanm@ite.co.za

I have been experimenting with Local Notifications using the Ionic 4 tutorial. But this appears to only work with native apps and not PWA. Trawling the web I see that it should be possible to do Local Notifications with a PWA - well at least on Windows and Android. Has anyone actually done this and prepared to show how they did it?

[Appery - this would be a great tutorial or sample to show developers. Local Notifications are a good way to implement some of the feature of Push Notifications which are not available for a PWA. For example in the background/minimized my app can regularly check for updates from my server, and then display a Local Notification based on change in some data, something new, etc. Can you guys not setup a sample for us?]


Re: Local Notification from Ionic 4 PWA

Posted: Thu Aug 20, 2020 9:06 am
by Serhii Kulibaba

Hello,

You are right, Push Notifications work only in native apps. No ways to use the same in PWA


Re: Local Notification from Ionic 4 PWA

Posted: Thu Aug 20, 2020 9:11 pm
by brendanm@ite.co.za
Serhii Kulibaba wrote: Thu Aug 20, 2020 9:06 am

Hello,

You are right, Push Notifications work only in native apps. No ways to use the same in PWA

I am referring to a Local Notification where the PWA raises the notification locally. This is NOT a Push Notification


Re: Local Notification from Ionic 4 PWA

Posted: Mon Aug 24, 2020 4:29 pm
by Serhii Kulibaba

They are not available in Appery.io platform by default. Please see this link on how to use them in PWA: https://developer.mozilla.org/en-US/doc ... tions_Push


Re: Local Notification from Ionic 4 PWA

Posted: Mon Aug 24, 2020 7:10 pm
by brendanm@ite.co.za

Thanks. I realize PWA Local Notifications are not readily available in Appery but the point (as seen by my Google searching and your comment) is that it should be possible. That is why I suggested it as a very useful tutoirial that say Alexander Antsypov could present on your Youtube channel.


Re: Local Notification from Ionic 4 PWA

Posted: Mon Sep 07, 2020 6:01 pm
by techboy

yes! you are right to some extend.


Re: Local Notification from Ionic 4 PWA

Posted: Tue Sep 08, 2020 10:52 am
by Oleg Solodiuk

Hello,

Thank you, we have redirected your idea to our development team.


Re: Local Notification from Ionic 4 PWA

Posted: Fri May 14, 2021 11:55 am
by brendanm@ite.co.za
Hi. Is there any update on this? This seems to a key missing feature of Appery PWAs. And thank-you for the PWA Automatic Upgrade tutorial and tutorial We just need something similar for local notifications now ...

Re: Local Notification from Ionic 4 PWA

Posted: Tue Nov 23, 2021 7:17 am
by brendanm@ite.co.za

Appery - 1 year later and still no instructional video and/or plug-in! Surely this local notification (not push notifcation) feature is one of the most sort after for anyone developing a PWA?


Re: Local Notification from Ionic 4 PWA

Posted: Wed Nov 24, 2021 1:41 pm
by Oleg Solodiuk

Hello,

Please check out our tutorial that shows you how to add custom pop-ups to your PWA app. You can add error or success messages, custom notifications, prompt windows, and more — all by installing the SweetAlert2 module to your app: https://www.youtube.com/watch?v=8SK3_yc ... =Appery.io