Seb Bizeul Seb Bizeul -4 years ago 314
iOS Question

React Native WebView with iOS and domStorage

I'm currently working on a React Native app which embed a WebView.

The app loaded in the webview uses Dom storage. So, on Android, I must set "domStorageEnabled" props to true, otherwise my app doesn't load.

I wonder if my app can run on iOS because "domStorageEnabled" is an android only props.

Does iOS dom storage is enabled by default when using the WebView component?

Answer Source

Tried this at work with a Mac and I can confirm that dom storage is enabled by default on iOS WebView component.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download