Error while send push and device register many times a new target
- 0
- Flutter
- Messaging
- Apple
- Cloud
- Self Hosted
Hello, I was create a auth file on flutter. This is working. But I get 2 issues. If I re login it create each time a new target with that push. I dont know how to check all targets based on user to not create for same device token a new target. And if I try to send message I get the following error on backend Failed sending to targets with error: Cannot access offset of type string on string I was add the providerId who I was get once I create the appleapn.
I hope some can help me to fix that file. 😦
Best, Sebastian
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...