Android, messaging using FCM, self-hosted 1.6.1, Python backend
Hey, I thought that by just setting the users = [<user_id>] inside the create_push() function (and not specifying a target) I could send a push notification.
I can't find anywhere how this "users" and "targets" parameters of create_push() are used, does someone know what I need to set in order to send a push notification to a user? Is it possible to skip the specifying specific targets and only list the userID (and probably the backend sends a push to all active targets?)
Thanks a lot!
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...