{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/3799","labels_url":"https://api.github.com/repos/meteor/meteor/issues/3799/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/3799/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/3799/events","html_url":"https://github.com/meteor/meteor/issues/3799","id":58642769,"number":3799,"title":"meteor/cordova/ios not allowed to load local resource on IOS","user":{"login":"dotnetwise","id":485535,"avatar_url":"https://avatars.githubusercontent.com/u/485535?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnetwise","html_url":"https://github.com/dotnetwise","followers_url":"https://api.github.com/users/dotnetwise/followers","following_url":"https://api.github.com/users/dotnetwise/following{/other_user}","gists_url":"https://api.github.com/users/dotnetwise/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetwise/subscriptions","organizations_url":"https://api.github.com/users/dotnetwise/orgs","repos_url":"https://api.github.com/users/dotnetwise/repos","events_url":"https://api.github.com/users/dotnetwise/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetwise/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mobile","name":"Project:Mobile","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":49,"created_at":"2015-02-23T20:25:52Z","updated_at":"2015-09-13T01:51:01Z","closed_at":null,"body":"We are using the file transfer plugin to download a file to \r\n`file:///var/mobile/Containers/Data/Application/6BB3B78C-0BAA-42FF-93F0-C70B80B86944/tmp/cdv_photo_003.jpg`\r\n\r\nHowever, then trying to access that path with an `<img` tag will give us security errors:\r\n`Not allowed to load local resource: file:///var/mobile/Containers/Data/Application/6BB3B78C-0BAA-42FF-93F0-C70B80B86944/tmp/cdv_photo_003.jpg`\r\n\r\nThis won't happen in a normal `cordova` app since it starts via `file:///` protocol\r\n\r\nHowever `meteor` breaks this beacuse the app will start on `http://meteor.local`\r\n\r\nSo, how to give access to the app's `file:///` sandbox files?"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/139838030","html_url":"https://github.com/meteor/meteor/issues/3799#issuecomment-139838030","issue_url":"https://api.github.com/repos/meteor/meteor/issues/3799","id":139838030,"user":{"login":"ilampirai","id":5413518,"avatar_url":"https://avatars.githubusercontent.com/u/5413518?v=3","gravatar_id":"","url":"https://api.github.com/users/ilampirai","html_url":"https://github.com/ilampirai","followers_url":"https://api.github.com/users/ilampirai/followers","following_url":"https://api.github.com/users/ilampirai/following{/other_user}","gists_url":"https://api.github.com/users/ilampirai/gists{/gist_id}","starred_url":"https://api.github.com/users/ilampirai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilampirai/subscriptions","organizations_url":"https://api.github.com/users/ilampirai/orgs","repos_url":"https://api.github.com/users/ilampirai/repos","events_url":"https://api.github.com/users/ilampirai/events{/privacy}","received_events_url":"https://api.github.com/users/ilampirai/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T01:51:01Z","updated_at":"2015-09-13T01:51:01Z","body":"Thanks @byrne-yan  your fix works well.\r\n\r\n@nate-strauser Is there a way to send www_root , port and localhost flag from our meteor js file ? (in meteor.startup function) that will be helpful greatly can you make your package work so?"}}