[
https://issues.apache.org/jira/browse/CB-12509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-12509.
-----------------------------------
Resolution: Won't Fix
localStorage is not persistent. iOS stores it in /Library/Caches which gives
you a clue why. This is an Apple policy, not ours -- and thus an external
issue.
See
http://gonehybrid.com/dont-assume-localstorage-will-always-work-in-your-hybrid-app/
for alternatives
> LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1)
> in iOS 10.2
> ----------------------------------------------------------------------------------------
>
> Key: CB-12509
> URL: https://issues.apache.org/jira/browse/CB-12509
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 4.1.1
> Reporter: Sachitra Malwatte
> Labels: iOS, iOS10.2
>
> I have a app built with cordova ios 3.8.0.
> When I updated the app to new version which is built with 4.1.1 LocalStorage
> returns empty. I cannot retrieve the data saved by previous version.
> Works in iOS 8 and 9
> Does not work in iOS 10.2
> Please help.
> Cordova-ios: current 4.1.1, previous 3.8.0
> Cordova CLI: current 6.1.1
> xcode: current 7.2.1
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]