Search docs/
Getting StartedPlugins

Secure Storage Echo

This plugin gets, sets and removes key,value pairs from a device's secure storage.

Requires Cordova plugin: cordova-plugin-secure-storage-echo. For more info, please see the Cordova Secure Storage docs.

The browser platform is supported as a mock only. Key/values are stored unencrypted in localStorage.

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Contact Us Today!


ionic cordova plugin add cordova-plugin-secure-storage-echonpm install @ionic-native/secure-storage-echonpm install cordova-plugin-secure-storage-echonpm install @ionic-native/secure-storage-echoionic cap sync
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • Browser
  • iOS
  • Windows



See here.


import { SecureStorageEcho, SecureStorageEchoObject } from '@ionic-native/secure-storage-echo/ngx';

constructor(private secureStorageEcho: SecureStorageEcho) { }


  .then((storage: SecureStorageEchoObject) => {

         data => console.log(data),
         error => console.log(error)

     storage.set('key', 'value')
        data => console.log(data),
         error => console.log(error)

         data => console.log(data),
         error => console.log(error)