Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Re: Local Notification from Ionic 4 PWA

We also have an Ionic 5 Local Notifications Tutorial now.
So, please check this link out, if if looks interesting: https://docs.appery.io/docs/ionic-5-loc ... s-tutorial

brendanm@ite.co.za
Posts: 26
Joined: Mon Jul 27, 2020 12:05 pm

Re: Local Notification from Ionic 4 PWA

The tutorial is great but this I guess is for a native application and not a PWA?

brendanm@ite.co.za
Posts: 26
Joined: Mon Jul 27, 2020 12:05 pm

Re: Local Notification from Ionic 4 PWA

I already use SweetAlert but that will only work if the PWA is in the foreground. If the PWA is in the background I want to use a local notification to show a message/alert to the user. Just like what happens when a new WhatsApp or email message arrives on your phone but you have those apps closed or not in the foreground. You still get an alert.

brendanm@ite.co.za
Posts: 26
Joined: Mon Jul 27, 2020 12:05 pm

Re: Local Notification from Ionic 4 PWA

Yes that is nice but it will not work for a PWA

Hudson545
Posts: 1
Joined: Mon Jul 17, 2023 8:28 am

Re: Local Notification from Ionic 4 PWA

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

You're correct that push notifications typically work only in native apps. However, there are emerging technologies like Web Push API that allow push notifications to be used in Progressive Web Apps (PWAs). It's worth exploring for your specific use case.

dozesstun
Posts: 1
Joined: Tue Oct 31, 2023 12:32 pm

Re: Local Notification from Ionic 4 PWA

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

Return to “Issues”