PWA push notifications
-
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)
-
@bh4-tech @crazycells The plugin has now been open sourced.
https://github.com/NodeBB/nodebb-plugin-firebase
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
-
@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.