
Hi there, I am playing around with push notifications for my flutter application. I'm struggling to figure out how to setup android push notifications because of the native kotlin part. The guide says I should edit the MainActivity to save the fcmToken into the sharedPreferences and create a FirebaseMessagingService to handle updates of the fcmToken that will then be saved to the signed-in Appwrite account. But doesn't that mean that I have to manage the andoid appwrite sdk and the flutter sdk seperately in one project and call native kotlin code from my flutter project when e.g. the user signs in? Maybe I got something wrong here. Is there a flutter sdk function to get the current fcmToken so that I can handle this part in flutter?
Thank you for helping! 🤗

Saw this post and I will try that 🙂 https://discord.com/channels/564160730845151244/1215970955298344970/1216358068250480651
Recommended threads
- User (role: guests) missing scopes (["te...
I keep getting this error: ```AppwriteException: User (role: guests) missing scopes (["teams.read"]) at new AppwriteException (/usr/local/server/src/functio...
- Explore uploaded images directly from lo...
Is there any option to explore/dwonload uploaded files to from local machine? I connected through WinScp to my vps and to files from docker volume 'appwrite_app...
- Migrate Appwrite
I have appwrite setup in Coolify, where my dev and production both are running on coolify due to upgrade issues and multiple issues when deployed with coolify. ...
