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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...