{"action":"created","issue":{"url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/107","labels_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/107/comments","events_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/107/events","html_url":"https://github.com/StraboSpot/strabo-mobile/issues/107","id":64338467,"number":107,"title":"Export to CSV","user":{"login":"jessica-azgs","id":1493985,"avatar_url":"https://avatars.githubusercontent.com/u/1493985?v=3","gravatar_id":"","url":"https://api.github.com/users/jessica-azgs","html_url":"https://github.com/jessica-azgs","followers_url":"https://api.github.com/users/jessica-azgs/followers","following_url":"https://api.github.com/users/jessica-azgs/following{/other_user}","gists_url":"https://api.github.com/users/jessica-azgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jessica-azgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessica-azgs/subscriptions","organizations_url":"https://api.github.com/users/jessica-azgs/orgs","repos_url":"https://api.github.com/users/jessica-azgs/repos","events_url":"https://api.github.com/users/jessica-azgs/events{/privacy}","received_events_url":"https://api.github.com/users/jessica-azgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-25T18:18:37Z","updated_at":"2015-07-13T05:02:30Z","closed_at":null,"body":null},"comment":{"url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/comments/120813416","html_url":"https://github.com/StraboSpot/strabo-mobile/issues/107#issuecomment-120813416","issue_url":"https://api.github.com/repos/StraboSpot/strabo-mobile/issues/107","id":120813416,"user":{"login":"ginxwar","id":1930629,"avatar_url":"https://avatars.githubusercontent.com/u/1930629?v=3","gravatar_id":"","url":"https://api.github.com/users/ginxwar","html_url":"https://github.com/ginxwar","followers_url":"https://api.github.com/users/ginxwar/followers","following_url":"https://api.github.com/users/ginxwar/following{/other_user}","gists_url":"https://api.github.com/users/ginxwar/gists{/gist_id}","starred_url":"https://api.github.com/users/ginxwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginxwar/subscriptions","organizations_url":"https://api.github.com/users/ginxwar/orgs","repos_url":"https://api.github.com/users/ginxwar/repos","events_url":"https://api.github.com/users/ginxwar/events{/privacy}","received_events_url":"https://api.github.com/users/ginxwar/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T05:02:30Z","updated_at":"2015-07-13T05:02:30Z","body":"I took a look at this.  It does appear that all you need to change is the cordova file location specific for iOS devices.  So I ended up trying them all:\r\n```\r\ncordova.file.dataDirectory\r\ncordova.file.cacheDirectory\r\ncordova.file.tempDirectory\r\ncordova.file.syncedDataDirectory\r\ncordova.file.documentsDirectory\r\n```\r\n\r\nBut for every one of them, I kept getting a FileError code 5, which is an ```ENCODING_ERR``` error.  It looks like the solution is to maybe use ```window.resolveLocalFileSystemURL``` for these file locations and then writing to those locations *after* you resolve them, but I haven't tested this theory yet.  Googling this subject is somewhat limited.\r\n\r\nI'll try again tomorrow."}}