Hello everyone! π
I've been trying to wrap my head around implementing push notifications. If I understand it correctly the following is the recommend way to set up push notifications (in my case Flutter):
- Set up a Firebase project
- Initialize the Firebase SDK in the app (Flutter)
- Set up a cloud function in Appwrite that sends the push notification through Firebase
Is this correct so far? π
The thing I'm struggling with to understand is how to send push notifications to one or more specific Appwrite users by their ID (not to ALL users) by using this method. π€ Firebase isn't aware of Appwrite users so I don't think I can use that.
Does anyone know how to accomplish this? Is there maybe an example of this scenario online?
You would have to store the user's fcm token in Appwrite. Then, you can look it up and send it to that token
Sounds good! I didn't think of anything like that. I'm going to give it a try today or this weekend. Thanks! π
Recommended threads
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- Backup policies think im on free tier
Cant create more than one policy as im told to ugprade, when clicking upgrade im taken to the upgrade page which confirms im already on pro
- Cant get rid of "get started"
Not that important, but annoying. No matter what I do I cant get the "Get started" to go away, ive added a bunch of web platforms and its just stuck.