title: LocalStorage is not working as expected in iphone/ipad with os 10
body: <p>I am facing issue with localstorage in iphone/Ipad with os version 10 and above.</p>
  
  <p>The scenario is like this.</p>
  
  <p>First time When i open the application the localstorage key value is null . At that time i'm assigning value to that corresponding key.</p>
  
  <p>second time When i open the application still localStorage key is null again assigning value to that corresponding key.</p>
  
  <p>Third time when i open the application i'm getting value from localStorage . If i repeat above steps no.of time , everytime i'm able to get value from localstorage.</p>
  
  <p>Here the problem is second time only with localStorage.</p>
  
  <p>Below are the technologies that i'm using 
  IBM Mobile First V7.1
  Cordova V3.7
  Ionic V1.2.4 and angular 1.4</p>
  
  <p>Please find below sample code that is working fine in iphone &amp; ipad with os 9(below 10)</p>
  
  <pre><code>if(localStorage &amp;&amp; $window.localStorage.getItem("isFirst") ==  "first"){ 
    alert("Data available"); 
  
  }else{ 
   alert("LocalStorage is empty");               
  $window.localStorage.setItem("isFirst", "first"); 
  
  }
  </code></pre>
  
  <p>got "Data available" alet twice instead of one.  </p>