{"action":"opened","issue":{"url":"https://api.github.com/repos/johanneslumpe/react-native-fs/issues/128","repository_url":"https://api.github.com/repos/johanneslumpe/react-native-fs","labels_url":"https://api.github.com/repos/johanneslumpe/react-native-fs/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/johanneslumpe/react-native-fs/issues/128/comments","events_url":"https://api.github.com/repos/johanneslumpe/react-native-fs/issues/128/events","html_url":"https://github.com/johanneslumpe/react-native-fs/issues/128","id":163626882,"number":128,"title":"Get path of image in Images.xcassets with React Native","user":{"login":"Naoto-Ida","id":7748110,"avatar_url":"https://avatars.githubusercontent.com/u/7748110?v=3","gravatar_id":"","url":"https://api.github.com/users/Naoto-Ida","html_url":"https://github.com/Naoto-Ida","followers_url":"https://api.github.com/users/Naoto-Ida/followers","following_url":"https://api.github.com/users/Naoto-Ida/following{/other_user}","gists_url":"https://api.github.com/users/Naoto-Ida/gists{/gist_id}","starred_url":"https://api.github.com/users/Naoto-Ida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naoto-Ida/subscriptions","organizations_url":"https://api.github.com/users/Naoto-Ida/orgs","repos_url":"https://api.github.com/users/Naoto-Ida/repos","events_url":"https://api.github.com/users/Naoto-Ida/events{/privacy}","received_events_url":"https://api.github.com/users/Naoto-Ida/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-04T08:27:15Z","updated_at":"2016-07-04T08:27:15Z","closed_at":null,"body":"I've asked the same question on [StackOverflow](http://stackoverflow.com/questions/38179924/get-path-of-image-in-images-xcassets-with-react-native), but thought here might be a better place to ask.\r\n\r\n```\r\n...other things\r\nimport FS from 'react-native-fs'\r\n\r\nexport default class WebViewScreen extends Component {\r\n    render() {\r\n        const HTML = `\r\n        <html>\r\n            <head>\r\n            </head>\r\n            <body>\r\n            hello\r\n            <img src=\"file://${FS.MainBundlePath + '/assets/core/images/SOMETHING.jpg'}\">\r\n            </body>\r\n        </html>\r\n        `\r\n\r\n        return (\r\n            <WebView\r\n                source={{html: HTML}}\r\n            >\r\n        )\r\n    }\r\n}\r\n```\r\n\r\nIn order for this to work, `SOMETHING.jpg` needs to be used as the source of an image prior to being used in the code above. How can I get it to show up without doing so?"}}
{"actor":{"display_login":"Naoto-Ida"}}