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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...