Flutter. Local storage vs cloud storage

Yuri Novicow
Easy Flutter
Published in
4 min readAug 2, 2024

--

Let’s say we are going to make another app.
What will we use to store content, Hive or Firebase?

Both Hive and Firebase used as generic names for local and server-side storage respectively. Word cloud also used for both cloud and private server side storages.

There are many factors to consider. Let’s list them first and then explore them one by one.

  1. Shareable content
  2. Sync of devices
  3. User management
  4. Amount of storage needed
  5. Bad UX because of data loading
  6. Protection of sensitive data
  7. Server-side updates
  8. Cost of implementation
  9. Cost of storage

If you are a member, please continue, otherwise, read the full story here.

1. Shareable content

This one does not require much thinking: if our app has user-generated content that could be shared between users we need cloud storage.
And we, likely, need local storage for drafts.

2. Sync of devices

Same here. If the app runs on several platforms (usually web and mobile e.g. X, Fb…

--

--

Yuri Novicow
Easy Flutter

20 years in software development. Writes about Flutter. Always looks for the most efficient paths. Shares secrets openly.