title: Error storing item cordova_not_available
body: <p>I install <a href="https://ionicframework.com/docs/native/native-storage/" rel="nofollow noreferrer">native Storage</a> By run these commands</p>
  
  <pre><code>$ ionic cordova plugin add cordova-plugin-nativestorage
  $ npm install --save @ionic-native/native-storage
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bwekj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bwekj.png" alt="enter image description here"></a></p>
  
  <p>And I have Import <a href="https://ionicframework.com/docs/native/native-storage/" rel="nofollow noreferrer">native Storage</a> in app.module.ts</p>
  
  <pre><code>•••••
  import { NativeStorage } from '@ionic-native/native-storage';
  •••••
  
  /* SOME CODE*/
  
  providers: [
    •••••
    NativeStorage
    •••••
  ]
  </code></pre>
  
  <p>And I use it in my HomePage (<code>/pages/home/home</code>)</p>
  
  <pre><code>•••••
  import { NativeStorage } from '@ionic-native/native-storage';
  •••••
  
  constructor(private nativeStorage: NativeStorage) {}
  
  /* SOME CODE */
  ngOnInit(){
  this.nativeStorage.setItem('myitem', {property: 'value', anotherProperty: 'anotherValue'})
    .then(
      () =&gt; console.log('Stored item!'),
      error =&gt; console.error('Error storing item', error)
    );
  }
  </code></pre>
  
  <p>But after all these steps I got error in the console</p>
  
  <p><a href="https://i.stack.imgur.com/JVlyy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JVlyy.png" alt="Error storing item cordova_not_available"></a></p>
  
  <p>my Question is <strong>What do I do to avoid this Error</strong> <code>Error storing item cordova_not_available</code></p>