**Brief overview of the app**:
We had two(IOS Cordova & IOS native) working apps, We had a plan to integrate both the application with existing technical stack. We managed to Integrate successfully by converting the Cordova app into binaries with the help of cocoapods and integrated it into IOS native app, the app functionality is working fine.

In IOS native app we have more than one webviews.

**Issue** : In Cordova app sometimes we are loosing the data which is saved using "window.localStorage" this issue is not consistent but happens 2or3 out of 10 tries . 

Above issue Occurs only in the Integrated version of app (Cordova + Native) and not in stand alone version of Cordova app.

We had the same kind of issue in integrated version (Android native + Cordova android) we managed to fix this issue by overriding the "windows.localstorage" using "addJavascriptInterface" 

**Questions** :
1) Have anyone experienced the loss of localstorage value. 
2) Do we have such option( ie "addJavascriptInterface" ) for IOS as well if so can you please explain how or can you suggest some other better option to commute between Cordova webview to the native layer

**Note** :This commute from Cordova webview to native IOS should be synchronous **not** asyn because I need to override the "windows.localstorage" 
Used cordova version 3.6.3

Thanks in advance