Open ejjick opened 3 years ago
Hey - i'm transferring this to the Amplify JS repository. cc @sammartinez
Thanks for this feature request @ejjick ! We will take this into consideration for the future of our use case for DataStore
Thank you @sammartinez . I hope to be able to use it one day.
Which Category is your question related to?
API, DataStore
Amplify CLI Version
4.16.1
What AWS Services are you utilizing?
Amplify, AppSync, Cognito, DynamoDb
Provide additional details e.g. code snippets
I've been trying to use the DataStore component for online/offline sync in a chrome extension. However it looks like DataStore only comes with support for IndexedDB and chrome extensions don't have access to IndexedDB. You'd have to solve it with a content script and that solution seems like a bit of a hack. Are there any other options that you can see? Is it worth writing an adapter to use LocalStorage (perhaps with localForage) instead of IndexedDB?