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

Ability to import/export database #5

Open
kendallroth opened this issue Feb 6, 2023 · 1 comment
Open

Ability to import/export database #5

kendallroth opened this issue Feb 6, 2023 · 1 comment
Labels
question Further information is requested request Feature request

Comments

@kendallroth
Copy link
Owner

Request

Need to add the ability to import and export database to/from a device file. This will enable backing up important application state to share across app installs, etc.

This could use redux-persist if desired, or a most custom solution, as the state will be loaded into the app and then stored. However, using the library could decrease the amount of work required by standardizing shape, if it is possible.

Features

  • Workflow for importing database (to file)
  • Workflow for exporting database (from file)
  • Ensure future Redux store migrations would be supported (via versioning)
@kendallroth kendallroth added the request Feature request label Feb 6, 2023
@kendallroth
Copy link
Owner Author

Uncertain how possible this will be, as Expo cannot write to the external file system (ie. outside it's "sandbox"). Ideally the downloaded file would be stored in downloads, but the location could potentially be customized. However, no way exists to do this currently, other than a potential hack with using media library (unsupported for non-media files though).

@kendallroth kendallroth added the question Further information is requested label Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested request Feature request
Projects
None yet
Development

No branches or pull requests

1 participant