vivex https://github.com/Zurtr/flarum-ext-onesignal Tested on chrome, Sends notification when someone likes or mentions a user. Looking for feedback and suggestions.
XEngine vivex Very intresting! I was going to build an extension exactly like this one with OneSignal ?
vivex achlys Yes it stores oneSignal's playerId (user_id) in user table when user subscribes . Yes i will document it soon. XEngine Thank you, Its still in progress, Currently it is using NotificationWillBeSent event, but i think i need to switch it to more specific events like flarum-notify is doing.
XEngine @vivex , I also thought sending custom messages from admin dashboard either selected group of users or all users. You can do that too if you want ? Awesome Extension! Keep up the good work!
vivex Sorry mates, busy with other stuff, extension works well for normal use-cases, if any body wants to implement any feature please go ahead and fork the repo, create issue on github, i will help in getting started.
AonSyed extension is not working PHP Warning: Missing argument 2 for Zurtr\OneSignal\OneSignalAPI::__construct(), called in /home/*/web//public_html/vendor/zurtr/flarum-ext-onesignal/src/Listener/SendWebPushNotification.php on line 21 and defined in /home//web//public_html/vendor/zurtr/flarum-ext-onesignal/src/OneSignalAPI.php on line 9 PHP Notice: Undefined variable: oneSignalAPIKey in /home//web/*****/public_html/vendor/zurtr/flarum-ext-onesignal/src/OneSignalAPI.php on line 11
poVoq There seems to have been an updated fork: https://github.com/DogSports/flarum-ext-web-push-notification Edit: seem to install via this: "composer require dogsports/flarum-ext-web-push-notification" Not sure how to get it working though...