#✅ - Is Amplify Datastore a better choice over Shared_preference or Hive for storing user prefe...

6 messages · Page 1 of 1 (latest)

warm jay
#

Hi. Everyone.

I've been using Hive for local storage (Mostly for user preference setting), but I'm considering a switch to Amplify Datastore. And I will use it as a standalone local storage. Are there potential challenges or concerns in making this change from Hive to Datastore?

Would Datastore be a suitable replacement for local storage options like Hive or Shared_preferences?

Thank you so much for your help. I always appreciate this awesome community and people

warm wasp
#

it might work like that if you avoid running Amplify.configure, but DataStore isn't really intended for local storage. it's meant to be used with a graphql API.

warm jay
weak schooner
#

Not using Flutter, but what we doing is use DataStore for long term user data (our app collects user metrics over time - think like a nutrition/weight tracker app), and app user preferences are stored in AppStorage (a native iOS storage option, a little like Hive at surface level).

We've had good success with that, and regardless of the language, in the future I would continue to do the same thing

hazy sierraBOT
#

✅ - Is Amplify Datastore a better choice over Shared_preference or Hive for storing user prefe...