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
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...