{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9299","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9299/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9299/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9299/events","html_url":"https://github.com/facebook/react-native/issues/9299","id":170025811,"number":9299,"title":"[HELP WANTED] Setting header for image source","user":{"login":"ospfranco","id":1634213,"avatar_url":"https://avatars.githubusercontent.com/u/1634213?v=3","gravatar_id":"","url":"https://api.github.com/users/ospfranco","html_url":"https://github.com/ospfranco","followers_url":"https://api.github.com/users/ospfranco/followers","following_url":"https://api.github.com/users/ospfranco/following{/other_user}","gists_url":"https://api.github.com/users/ospfranco/gists{/gist_id}","starred_url":"https://api.github.com/users/ospfranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ospfranco/subscriptions","organizations_url":"https://api.github.com/users/ospfranco/orgs","repos_url":"https://api.github.com/users/ospfranco/repos","events_url":"https://api.github.com/users/ospfranco/events{/privacy}","received_events_url":"https://api.github.com/users/ospfranco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-08T21:07:15Z","updated_at":"2016-08-09T22:35:06Z","closed_at":"2016-08-09T22:35:06Z","body":"Hey, I'm trying to fetch an image from one of our services, however there is a small problem, we set our verification token on our headers, therefore this:\r\n\r\n`<Image source={{uri: 'https://myservice/api/image.jpg'}}/>`\r\n\r\ndoesn't work\r\n\r\nFor our normal requests we are using `fetch` which works just fine, however if I try to pull an image with it I get, I get the returned object, but have no idea how to bind it the Image component, if I pass it directly as source={imageData} I get an error, image is displayed, but get an error from the Image component.\r\n\r\n<img width=\"166\" alt=\"screen shot 2016-08-08 at 17 06 42\" src=\"https://cloud.githubusercontent.com/assets/1634213/17496279/8999f828-5d8a-11e6-87d1-f96bbdea2966.png\">\r\n<img width=\"377\" alt=\"screen shot 2016-08-08 at 17 06 28\" src=\"https://cloud.githubusercontent.com/assets/1634213/17496281/8abdd8dc-5d8a-11e6-8199-7f8da3af0bcf.png\">\r\n\r\n"}}
{"actor":{"display_login":"ospfranco"}}