Using Capacitor Storage
Find out how the Movies app makes use of the Capacitor Storage plugin.
We'll cover the following...
Saving data within the application
Within this case study, we’ll be using the Capacitor Storage plugin to manage the persistence of data such as favorite movies and saved searches.
Capacitor Storage relies on the following mechanisms:
- Browser local storage for
PWAs Progressive Web Apps - The
UserDefaults
on iOS - The
SharedPreferences
on Android
The Storage plugin provides a simple key-value data store mechanism and is not intended for more “serious” or enterprise-level data requirements.
When using the Capacitor Storage (or similar key-value storage mechanisms such as Ionic Storage or LocalStorage), consider this to be a persistence ...