
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
- Unexpected File Persistence Across Appwr...
I'm encountering an issue where files created during an Appwrite Function execution persist across subsequent executions. Specifically, when a function writes a...
- Cannot connect to SMTP in AppWrite - set...
This used to work and then at some point it stopped. One thing that happened in that time was moving my application to Vercel. I have read on another thread t...
- [Self Hosted]
fresh instance of Appwrite - cant deploy function from local to instance ā Error ⢠func2 (68134cd9002358f96e4a) ⢠Invalid `specification` p...
