title: ionic 3 native storage read value stored
body: <p><strong>Hello,</strong></p>
  
  <p>in my code I tried the code written on the page of the Native Storage plugin which is here : <a href="http://ionicframework.com/docs/native/native-storage/" rel="nofollow noreferrer">Native Storage</a></p>
  
  <pre><code>    import { NativeStorage } from '@ionic-native/native-storage';
  
  constructor(private nativeStorage: NativeStorage) { }
  
  ...
  
  this.nativeStorage.setItem('myitem', {property: 'value', anotherProperty: 'anotherValue'})
    .then(
      () =&gt; console.log('Stored item!'),
      error =&gt; console.error('Error storing item', error)
    );
  
  this.nativeStorage.getItem('myitem')
    .then(
      data =&gt; console.log(data),
      error =&gt; console.error(error)
    );
  </code></pre>
  
  <p>When I launch my android simulator device the console sends me back this :</p>
  
  <pre><code>[00:02:01]  console.log: Stored item! 
  [00:02:01]  console.log: [object Object] 
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qYTKh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qYTKh.png" alt="console"></a></p>
  
  <p>I would like to find a solution to read the stored information. Because I would like to use a value stored in native storage to make a condition on an external page and I can not. Example "If the value stored on native storage of the name Vibrator is == to true then we start this function". I am looking for the method to read the value. Can you help me?</p>
  
  <p><strong>Thank you</strong></p>