Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate amplify datastore with sqlite in ionic/capacitor project #13549

Open
2 tasks
brucevilo1013 opened this issue Jun 28, 2024 · 0 comments
Open
2 tasks
Labels
DataStore Related to DataStore category feature-request Request a new feature Ionic Related to Ionic Framework

Comments

@brucevilo1013
Copy link

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?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@brucevilo1013 brucevilo1013 added the pending-triage Issue is pending triage label Jun 28, 2024
@cwomack cwomack added the DataStore Related to DataStore category label Jun 28, 2024
@chrisbonifacio chrisbonifacio added the feature-request Request a new feature label Jul 1, 2024
@chrisbonifacio chrisbonifacio added feature-request Request a new feature Ionic Related to Ionic Framework and removed feature-request Request a new feature pending-triage Issue is pending triage labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DataStore Related to DataStore category feature-request Request a new feature Ionic Related to Ionic Framework
Projects
None yet
Development

No branches or pull requests

3 participants