PWA push notifications
-
Web Push Notifications on iOS Demo & Test
Web push notifications demo on iOS and Android. Get the free starter template with support for iOS Safari PWA notifications.
(webpushtest.com)
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)
-
@bh4-tech @crazycells The plugin has now been open sourced.
GitHub - NodeBB/nodebb-plugin-firebase: Firebase Integration for NodeBB
Firebase Integration for NodeBB. Contribute to NodeBB/nodebb-plugin-firebase development by creating an account on GitHub.
GitHub (github.com)
There is no guarantee that it works as intended, and given that the code is 4 years old, it likely will need some updates to work with v3.x
-
@julian thanks a bunch @julian ... on an unrelated note, I do not get notification on the forum or on ntfy when you tag me anymore... I believe it is related to what @baris wrote here before... https://community.nodebb.org/message/71603
user mentions in chat rooms not working Β· Issue #12521 Β· NodeBB/NodeBB
// on master matches [ '@baris' ] after slugify [ 'baris' ] // on activitypub branch matches [ '@baris' ] after slugify [ '@baris' ] After that mentions plugin can't find a userslug for @baris and no notification is sent.
GitHub (github.com)
-
@crazycells Thanks for the reminder. I'll take a look.
-
@oplik0 Noticed that you have cloned the repository. Are you planning to make it compatible with current version of NodeBB?
Asking this because I installed the plugin and upon opening its admin page got (console) error- Cannot find module './plugins/firebase'. The UI for configuration also does not load. -
@bh4-tech yes, sorry for late response, I was just quite busy the last few weeks I'm planning to make the plugin work, but sadly it'll need a bit more work than just making it compatible with current NodeBB version as it's using a deprecated firebase API that's going to stop working this June...
And it's doing that because the new API requires a bit more setup to work... So this will need to be implemented.
I'll probably start working on it mid-June, once this semester ends for me, since as I mentioned I'm a bit too busy right now.