From e6dd9f291eb39357951888ba7751635b0f235875 Mon Sep 17 00:00:00 2001 From: sandstrom Date: Wed, 16 Oct 2019 14:11:48 +0200 Subject: [PATCH] Note on underlying storage mechanism --- site/docs-md/apis/storage/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/docs-md/apis/storage/index.md b/site/docs-md/apis/storage/index.md index 02d7335b5..5aa93f1ac 100644 --- a/site/docs-md/apis/storage/index.md +++ b/site/docs-md/apis/storage/index.md @@ -15,6 +15,8 @@ The Storage API provides a key-value store for simple data. Mobile OS's may periodically clear data set in `window.localStorage`, so this API should be used instead of `window.localStorage`. This API will fall back to using `localStorage` when running as a Progressive Web App. +On iOS this plugin will use [UserDefaults](https://developer.apple.com/documentation/foundation/userdefaults) and on Android [SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences). Stored data is cleared if the app is uninstalled. + Note: this API is not meant for high-performance data storage applications. Take a look at using SQLite or a separate data engine if your application will store a lot of items, have high read/write load, or require complex querying.