analytics_flutter icon indicating copy to clipboard operation
analytics_flutter copied to clipboard

Fix for Issue #186: Prevent JSON queue file growth over 512 KB

Open neelkanth-kaushik opened this issue 3 weeks ago • 0 comments

This pull request introduces proactive size checks on analytics-flutter-queue_flushing_plugin.json file so the SDK avoids queuing events that would push the on-disk queue file above 512 KB. When a new event would exceed the limit, the plugin attempts an immediate flush instead of silently trimming. Keep a safe trimming/fallback path on write failures or unexpected edge cases.

Fixed Github Issue: #186

neelkanth-kaushik avatar Nov 06 '25 10:11 neelkanth-kaushik