Integrate amplify datastore with sqlite in ionic/capacitor project #13549
Labels
DataStore
Related to DataStore category
feature-request
Request a new feature
Ionic
Related to Ionic Framework
Is this related to a new or existing framework?
New framework
Is this related to a new or existing API?
GraphQL API, DataStore, Storage
Is this related to another service?
No response
Describe the feature you'd like to request
I need to implement offline feature using amplify datastore with sqlite in ionic/capacitor project.
But there is no proper storage adapter or reference for it.
As I know, there is equivalent in React Native, but not in Ionic/Capacitor.
https://docs.amplify.aws/gen1/react-native/build-a-backend/more-features/datastore/set-up-datastore/
Describe the solution you'd like
Is it possible to modify the existing npm package( https://www.npmjs.com/package/@aws-amplify/datastore-storage-adapter) to use it in Ionic/Angular/Capacitor project?
Please provide me any guidance.
Thanks in advance.
Describe alternatives you've considered
Modify the existing npm module (https://www.npmjs.com/package/@aws-amplify/datastore-storage-adapter) to use it in Ionic/Capacitor. I think that this module is specific for React Native mobile app.
Additional context
I tried to use the existing package (https://www.npmjs.com/package/@aws-amplify/datastore-storage-adapter) in existing Ionic/capacitor project, but it throws error "missing dependency error not found module react-native-sqlite-storage".
But I need it in Ionic/Capacitor IOS mobile app
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: