A Cordova plugin for securely storing strings (credentials, tokens) using platform-native keychains: iOS Keychain (SAMKeychain), Android keystore (AES encryption with generated key), Windows Data Protection API. Forked from Crypho's plugin to maintain compatibility. Version 5.1.1 supports Android, iOS, and Windows (8.x/10/UWP). Uses a namespace-based API with callbacks (not Promises). Alternatives include cordova-plugin-secure-storage (original) and cordova-plugin-ios-keychain.
npm install cordova-plugin-secure-storage-echoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a SecureStorage instance, setting, getting, removing, listing keys, and clearing all values.
Wrap all plugin calls inside document.addEventListener('deviceready', function() { ... })Always provide both callback functions (even if empty). Example: new cordova.plugins.SecureStorage(function(){}, function(){}, 'ns')Always convert non-string data: JSON.stringify(value) for objects, String(num) for numbers, etc.
Set preference before first use. If changing, you may need to clear the app's keychain or uninstall/reinstall.
Test on Windows thoroughly. Consider using cordova-plugin-secure-storage-echo only for iOS/Android if Windows is critical.
Move initialization inside deviceready listener.
Run: cordova plugin add cordova-plugin-secure-storage-echo
Ensure all keys and values are strings. If persistent, uninstall/reinstall app or clear app data.
Verify that all arguments are valid strings. For optional null values, pass empty string '' instead.
No dependency data recorded yet.