webview - what happens to webview cookies on app update?

We have an iOS iPad app that uses webview to show some HTML files local to the app.  These HTML files successfully save and load cookies using the same methods to save and load cookies on a regular web site. Users can quit the app or restart the device and come back at a later time an all the saved cookie data is good.

What I want to know is what happens to those saved cookies when we release a new version of the app in the app store?  When users download the new version, it seems that the saved cookie data goes away.  

Did it ever keep those cookies in an older version of iOS or Corona?

Is there any way to keep those cookies?

I just tried on iOS 9 and cookies are remembered across app installs.  Obviously, things like the app’s bundle id have to remain constant or else it will be considered to be an entirely different application and the cookies themselves must not be session cookies.

Anecdotally this is true too, you don’t have to relogin to every app that gets updated via the app store.  CoronaSDK isn’t doing anything special with cookies, it’s just using the iOS provided UIWebView class.

I just tried on iOS 9 and cookies are remembered across app installs.  Obviously, things like the app’s bundle id have to remain constant or else it will be considered to be an entirely different application and the cookies themselves must not be session cookies.

Anecdotally this is true too, you don’t have to relogin to every app that gets updated via the app store.  CoronaSDK isn’t doing anything special with cookies, it’s just using the iOS provided UIWebView class.