
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
- I have troubles with login to appwrite c...
errors occured in migration
- New Provider isn't working | Invalid OAu...
Hallo, I set up a new provider in Appwrite. I followed all the documentation, I set up everything, I successfully ran both Appwrite console and backend, and I f...
- Appwrite Sites: Error At Deployment
Hello, I am using Appwrite 1.7.4 on a self-hosted instance and am experiencing an issue with Appwrite Site's manual deployment. ```powershell [12:44:43] [open-...
