Search code examples
cordovaionic-frameworkngcordova

Size of the local storage? - ionic framework


I was wondering what is the size of the local storage that your app can use. I know that the local storage depends on the browser and it is usually between 5 and 10 MB.

Is there other ways of storing the application data localy so that you can store more?


Solution

  • You can use the device file system:

    • For the native access of the different file systems you can use the cordova-file-plugin.

    • When you are using AngularJS in your application with ngCordova you can use $cordovaFile.

    For a more general overview, you may visit the cordova documentation for Storage.