title: Getting error "SecurityError (DOM Exception 18): The operation is insecure" when storing data in localStorage of UIWebView
body: <p>I am developing one sample <strong>Xamarin.Forms</strong> Application and in this application I'm using <strong>WebView for tyro payment gateway integration</strong> and also create WebViewRenderer for store data in localStorage of UIWebView. and I'm getting security error (<strong>SecurityError (DOM Exception 18): The operation is insecure</strong>). 
  Tyro payment gateway web url is "<a href="https://iclient.test.tyro.com" rel="nofollow noreferrer">https://iclient.test.tyro.com</a>".</p>
  
  <p>Please have a look below my code and help me</p>
  
  <pre><code>string subkey = "window.localStorage.setItem('webTta.integrationKey','integrationKey')";
  string key ="try { "+subkey +"; } catch (e) {  alert(e);  }";
  IntegrationKey = _uiWebView.EvaluateJavascript(key);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/olnLE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/olnLE.png" alt="enter image description here"></a></p>