{"action":"created","issue":{"url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/43","labels_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/43/comments","events_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/43/events","html_url":"https://github.com/tomitrescak/meteor-uploads/issues/43","id":57940895,"number":43,"title":"Uploads do not work with Cordova","user":{"login":"stormbkk87","id":9250123,"avatar_url":"https://avatars.githubusercontent.com/u/9250123?v=3","gravatar_id":"","url":"https://api.github.com/users/stormbkk87","html_url":"https://github.com/stormbkk87","followers_url":"https://api.github.com/users/stormbkk87/followers","following_url":"https://api.github.com/users/stormbkk87/following{/other_user}","gists_url":"https://api.github.com/users/stormbkk87/gists{/gist_id}","starred_url":"https://api.github.com/users/stormbkk87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormbkk87/subscriptions","organizations_url":"https://api.github.com/users/stormbkk87/orgs","repos_url":"https://api.github.com/users/stormbkk87/repos","events_url":"https://api.github.com/users/stormbkk87/events{/privacy}","received_events_url":"https://api.github.com/users/stormbkk87/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomitrescak/meteor-uploads/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-17T15:50:51Z","updated_at":"2015-02-18T09:06:56Z","closed_at":null,"body":"Does not work following the readme. Special settings for Cordova builds?\r\n\r\nFailed 200 OK\r\ndata.sumbit.always:  textStatus= parsererror\r\n\r\niOS simulator\r\n\r\n    UploadServer.init({\r\n        tmpDir: process.env.PWD + '/public/uploads/tmp',\r\n        uploadDir: process.env.PWD + '/public/uploads/',\r\n        checkCreateDirectories: true\r\n    });"},"comment":{"url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/comments/74832916","html_url":"https://github.com/tomitrescak/meteor-uploads/issues/43#issuecomment-74832916","issue_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/43","id":74832916,"user":{"login":"stormbkk87","id":9250123,"avatar_url":"https://avatars.githubusercontent.com/u/9250123?v=3","gravatar_id":"","url":"https://api.github.com/users/stormbkk87","html_url":"https://github.com/stormbkk87","followers_url":"https://api.github.com/users/stormbkk87/followers","following_url":"https://api.github.com/users/stormbkk87/following{/other_user}","gists_url":"https://api.github.com/users/stormbkk87/gists{/gist_id}","starred_url":"https://api.github.com/users/stormbkk87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormbkk87/subscriptions","organizations_url":"https://api.github.com/users/stormbkk87/orgs","repos_url":"https://api.github.com/users/stormbkk87/repos","events_url":"https://api.github.com/users/stormbkk87/events{/privacy}","received_events_url":"https://api.github.com/users/stormbkk87/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T09:06:56Z","updated_at":"2015-02-18T09:06:56Z","body":"Yes, all works straightaway on the browser. Very good plugin. \r\n\r\nOn Cordova, maybe your plugin is posting to http://meteor.local. This is the local server on the mobile phone. Maybe it needs to post to the server in ROOT_URL instead."}}