-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thresholds: NC Notification and color coding #5
Comments
Hello @nickvergessen I implemented notifications but I am receiving an error in NC16 - I assume its due to NC17.
its in Application.php |
No, it's not possible to be compatible with 16 and 17 at the same time |
You would need to have a second Notifier (call it |
ok, but how do "not register" with NC16? I would go that route. currently NC17 dependency brakes in total. and: could you do me a favour and check my implementation to avoid any obvious mistakes? would really be a help |
analytics/lib/AppInfo/Application.php Line 34 in c5a2d1d
Replace with: $notificationManager = \OC::$server->getNotificationManager();
if (method_exists($notificationManager, 'registerNotifierService')) {
\OC::$server->getNotificationManager()->registerNotifierService(Notifier::class);
} And do the same where you "create" the notification |
https://www.youtube.com/watch?v=qnNZafE7ECM @nickvergessen thank you for your help. next milestone reached! |
Information: Notifications only working as of NC17 |
No description provided.
The text was updated successfully, but these errors were encountered: