{"action":"created","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1480","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1480/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1480/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1480/events","html_url":"https://github.com/codenameone/CodenameOne/issues/1480","id":73043305,"number":1480,"title":"Data stored using the Storage class may be automatically removed by IOS on memory shortage","user":{"login":"saeder","id":9945131,"avatar_url":"https://avatars.githubusercontent.com/u/9945131?v=3","gravatar_id":"","url":"https://api.github.com/users/saeder","html_url":"https://github.com/saeder","followers_url":"https://api.github.com/users/saeder/followers","following_url":"https://api.github.com/users/saeder/following{/other_user}","gists_url":"https://api.github.com/users/saeder/gists{/gist_id}","starred_url":"https://api.github.com/users/saeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saeder/subscriptions","organizations_url":"https://api.github.com/users/saeder/orgs","repos_url":"https://api.github.com/users/saeder/repos","events_url":"https://api.github.com/users/saeder/events{/privacy}","received_events_url":"https://api.github.com/users/saeder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"codenameone","id":2353641,"avatar_url":"https://avatars.githubusercontent.com/u/2353641?v=3","gravatar_id":"","url":"https://api.github.com/users/codenameone","html_url":"https://github.com/codenameone","followers_url":"https://api.github.com/users/codenameone/followers","following_url":"https://api.github.com/users/codenameone/following{/other_user}","gists_url":"https://api.github.com/users/codenameone/gists{/gist_id}","starred_url":"https://api.github.com/users/codenameone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenameone/subscriptions","organizations_url":"https://api.github.com/users/codenameone/orgs","repos_url":"https://api.github.com/users/codenameone/repos","events_url":"https://api.github.com/users/codenameone/events{/privacy}","received_events_url":"https://api.github.com/users/codenameone/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-05-04T14:59:17Z","updated_at":"2015-05-06T04:12:49Z","closed_at":"2015-05-05T09:48:28Z","body":"Apparently on IOS and using the Storage class the data stored goes into the directory \\<Application_Home>/Library/Caches. See also the iOS Data Storage Guidelines https://developer.apple.com/icloud/documentation/data-storage/index.html .\r\n\r\nThe data therefore is treated as cached data, data that can be downloaded again or regenerated. I noticed this only after one of my testers lost all application data because he got his iPhone in a low memory situation and afterwards all the application data stored using the Storage class was lost.\r\nI could not find any hints in the Codename One Developer Guide. This should be at least clearly documented!\r\nI'd expect the Storage class to use the \\<Application_Home>/Documents directory."},"comment":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/comments/99316247","html_url":"https://github.com/codenameone/CodenameOne/issues/1480#issuecomment-99316247","issue_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1480","id":99316247,"user":{"login":"codenameone","id":2353641,"avatar_url":"https://avatars.githubusercontent.com/u/2353641?v=3","gravatar_id":"","url":"https://api.github.com/users/codenameone","html_url":"https://github.com/codenameone","followers_url":"https://api.github.com/users/codenameone/followers","following_url":"https://api.github.com/users/codenameone/following{/other_user}","gists_url":"https://api.github.com/users/codenameone/gists{/gist_id}","starred_url":"https://api.github.com/users/codenameone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenameone/subscriptions","organizations_url":"https://api.github.com/users/codenameone/orgs","repos_url":"https://api.github.com/users/codenameone/repos","events_url":"https://api.github.com/users/codenameone/events{/privacy}","received_events_url":"https://api.github.com/users/codenameone/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T04:12:49Z","updated_at":"2015-05-06T04:12:49Z","body":"3.0 is closed so no. 3.1 is currently planned for the end of July so it should be available then.\r\nI think it should already be in the servers."}}