Permanent Local Database storage

Is Client-side data storage in Appgyver permanent or session based (data is lost once app is closed) ? I want to do a ONE TIME 25mb data upload and keep the data permanently on the app. Does Appgyver Client-side data storage allow permanent data storage?

Client-side storage is persistent, so the data won’t disappear upon closing the app or the user logging out if you have auth enabled.

But beware: under the hood client-side storage uses localstorage / asyncstorage (depending on the platform), and these have platform and device specific size limits in the range of 5-50MB. If you encounter issues with that, you could e.g. write the data to the a file on mobile and read it into a variable on app start.

1 Like