I'm trying to implements a notification system with Appwrite and without using FCM.
What's the best way to achieve this ?
specs:
As an admin, I want to be able to notify everybody
As a manager, I want to be able to notify every member of my team
(Optional) Pass more data than just a message
Thanks for your help
Summary
The user wants to implement a notification system with Appwrite without using FCM (Firebase Cloud Messaging).
One suggested solution is to write a function that verifies the IDs of the admin, manager, and other relevant parties, and triggers the corresponding event with the appropriate permissions. The documentation for Appwrite's permissions, client teams, server users, and permissions can be used to accomplish this.
Alternatively, the user can try using AWS SNS as an alternative to FCM.
Overall, the user is seeking guidance on how to implement a notification system with specified requirements.
joeyouss
May 2, 2023, 08:51
Hi - so you are wanting to enable it without using FCM,
You could write a function that makes sure to verify who is the admin, who is the manager etc (basically identify their IDs) and after that, the relevant event is triggered keeping permissions in mind -> https://appwrite.io/docs/permissions .