PWA push notifications
-
Does the NodeBB PWA app send push notifications? We hope to have this feature for our new forum.
-
is it possible to have NodeBB pushing notifications on mobile?
I have our forum saved from Safari to iOS home screen, but not getting any notifications yet. I hope it is possible or will be possible soon to get these notifications...
-
@crazycells My experience of this is that the push notifications work, but for some strange reason, they appear for a few seconds, then are auto dismissed. On desktop, it works fine with no issues.
-
It's possible via the desktop notifications plugin, but unreliable as the notifications stop if the browser app is suspended (which happens a lot more often than you realize)
The firebase plugin (available for a nominal fee from us) can do it, but there is no iOS support yet because Apple
-
@julian said in PWA push notifications:
It's possible via the desktop notifications plugin, but unreliable as the notifications stop if the browser app is suspended (which happens a lot more often than you realize)
The firebase plugin (available for a nominal fee from us) can do it, but there is no iOS support yet because Apple
thanks, I was wondering your opinion... Good to know about the firebase plugin. I am more interested in the mobile versions rather than the desktop notifications. I guess currently Apple does not allow web apps to push notifications, that is why the plugin does not exist, am I right?
I will contact you about the firebase plugin.
-
@crazycells Not as of yet, no. Safari has no support for it, although it is available in the beta channel or something (this was news as of a couple weeks ago)
Because of how Apple restricts browsers on iOS devices, all browsers are actually just Safari under the hood.
Another one of Apple's more hairbrained decisions, but that's just my opinion.
-
https://www.apple.com/ios/ios-16-preview/features/
Hi @julian , I guess this means that Apple will start to allow push notifications for PWAs, right?
-
@crazycells I will believe it when it happens
-
@julian said in PWA push notifications:
@crazycells I will believe it when it happens
-
@julian said in PWA push notifications:
@crazycells I will believe it when it happens
Hi @julian , since apple has been supporting web push notifications for a while now... I am curious if there is an android counterpart plugin for ios in the pipeline?
-
This post is deleted!
-
@danh @crazycells Maybe? I have a 4 year old proof-of-concept plugin that made it to testing but then I just plain didn't work on Apple devices, so the plugin (a private one) was abandoned outright.
It's based off of firebase.
There are no licensing issues, so I can open-source it for review if need be, but I cannot guarantee that it'll even work.
-
Hi @julian, I'm planning to work on one anyway. It's always better to start off with something already existed.
I'm not familar with the stack yet and just started looking into other notification plugins.
I'm actually using pwa app on android made by pwabuilder.com to reply your comment. It's not bad at all.
Ntfy is great but it requires users to download third party app. Works but not ideal.
Can you share the code please?
-
A working ios pwa demo.
-
@danh said in PWA push notifications:
Ntfy is great but it requires users to download third party app. Works but not ideal.
I agree.
But I guess, ideally, we would have all three plugins, ntfy, firebase and, ios-counterpart of the firebase... So, users can decide which one to use...
we are waiting for ios notification plugin, because we have nearly a 50-50 ratio of ios to android users... so we cannot activate it for half but not the rest, they would react ... but definitely would not mind paying for firebase and ios-counterpart plugin...
-
@danh said in PWA push notifications:
Hi @julian, I'm planning to work on one anyway.
great to hear this
please let me know when it is ready to test, so I can start testing -
@crazycells I'd also be interested in this
-
@phenomlab @danh @crazycells ok, will open source the code later today.
Firebase is just the backend platform/service. You'll be able to use it to send push notifications iOS on it now (hopefully)