Back

[SOLVED] Notification system

  • 1
  • Web
L'unique Madfish
2 May, 2023, 07:10

Hello,

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

TL;DR
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
2 May, 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 .

Mainly you can use https://appwrite.io/docs/client/teams, https://appwrite.io/docs/server/users and https://appwrite.io/docs/permissions to make this happen

joeyouss
2 May, 2023, 08:55

About FCM, you can try AWS SNS. Our team member Damodar is actively investigating possibilities to make that happen!

L'unique Madfish
2 May, 2023, 09:03

Thanks for this quick answer,

I'll try this <:appwritecheck:851487062112731146>

L'unique Madfish
2 May, 2023, 09:03

[SOLVED] Notification system

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more