mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 16:06:32 +00:00
AsyncStorage caps its Android SQLite database at 6 MB unless `AsyncStorage_db_size_in_MB` is set. The offline cache keeps message bodies in that database, defaults to 50 MB and can be set to 500 MB, so it filled the database long before its own limit, after which every AsyncStorage write failed, including the account registry, the outbox and the mail list cache. Raise the ceiling to 1 GB. It is a maximum, not a preallocation, and needs a native rebuild to take effect.