Sitemap

Dev Genius

Coding, Tutorials, News, UX, UI and much more related to development

5 More Flutter Libraries I Regret Using in Production (Part 2)

I ripped out GoRouter and Secure Storage after they caused data loss and breaking changes. Here are the stable alternatives.

4 min read2 days ago

--

Press enter or click to view image in full size

My last post about removing GetX and Connectivity Plus struck a nerve. It turns out I wasn’t the only one suffering from “Resume-Driven Development.”

But we didn’t stop there. As our app scaled to 50k+ daily users, we found 5 more “standard” libraries that couldn’t handle the pressure of a real production environment. These aren’t necessarily “bad” code — but they prioritize Setup Speed over Production Stability.

Here is what I removed, the specific bugs that forced my hand (with receipts from the community), and the boring tools I replaced them with.

1. Flutter Secure Storage (For Tokens)

The Promise: “Safe, encrypted storage for sensitive data.” The Reality: Random data wipes on iOS.

We used this to store Auth Tokens (JWTs). Then came the support tickets: “I updated the app and I got logged out.”

I thought it was my code until I checked Reddit. There are entire threads in r/flutterhelp detailing how an iOS update or even a simple reinstall can wipe the…

--

--

Dev Genius

Published in Dev Genius

Coding, Tutorials, News, UX, UI and much more related to development

Simra Husain

Written by Simra Husain

Writing deep dives on jank, rendering, GC, and real-world debugging. Follow on LinkedIn for quick updates, and Subscribe here for new posts.

Responses (4)