Flutter Developer
Hello,
I have an issue with the realtime functionnality. At first, connection is working well, and events in the db are triggered. But after some time, like maybe one or two minutes, the subscription randomly fails (onDone is called) and I have the following error :
E/flutter (19415): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Concurrent modification during iteration: _Map len:0.
I have a self hosted Appwrite with the version 1.5.4. The server is in a local machine (localhost, Debian 11), and linked to a DNS domain by Cloudflare. In the client part, I use the appwrite package for Flutter with the version 12.0.3.
I uploaded a minimal code example where I meet this problem. It's been 2 days I'm searching on Discord/Github/Stackoverflow issues, but none helped me to fix it.
Do you have ideas how to solve this? Thank you for your time!