I'm working on an app that supports multiple logged-in users. That is, a user can add multiple accounts. Something akin to the image below. Only one user can be active at a time. I want to be able to send targeted push notifications to logged in accounts regardless of it being active or not.
However, this is currently not possible with the CreatePushTarget https://appwrite.io/docs/references/1.6.x/client-flutter/account#createPushTarget enpoint since it requires one and only one identifier (FCMToken) to be associated with an account.
I'm asking this in case I missed something in the docs or if anyone has a suggestion on how to get this working.
P. S. Currently, sending push notifications with a function calling FCM apis directly instead of using Appwrite Messaging api.
Support for multi-user pushTargert with same token
Recommended threads
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain — getting 'already exists' error. Pl...
- Custom domain for Google Auth
Hello! I connected my custom domain to my Appwrite project, but I can't get the Google login/consent screen to show my domain instead of the Appwrite domain. I...