{"action":"created","issue":{"url":"https://api.github.com/repos/matc4/react-native-svg-uri/issues/13","repository_url":"https://api.github.com/repos/matc4/react-native-svg-uri","labels_url":"https://api.github.com/repos/matc4/react-native-svg-uri/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/matc4/react-native-svg-uri/issues/13/comments","events_url":"https://api.github.com/repos/matc4/react-native-svg-uri/issues/13/events","html_url":"https://github.com/matc4/react-native-svg-uri/issues/13","id":187216419,"number":13,"title":"java.lang.IllegalArgumentException: unexpected url","user":{"login":"Taringanet","id":19196093,"avatar_url":"https://avatars.githubusercontent.com/u/19196093?v=3","gravatar_id":"","url":"https://api.github.com/users/Taringanet","html_url":"https://github.com/Taringanet","followers_url":"https://api.github.com/users/Taringanet/followers","following_url":"https://api.github.com/users/Taringanet/following{/other_user}","gists_url":"https://api.github.com/users/Taringanet/gists{/gist_id}","starred_url":"https://api.github.com/users/Taringanet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taringanet/subscriptions","organizations_url":"https://api.github.com/users/Taringanet/orgs","repos_url":"https://api.github.com/users/Taringanet/repos","events_url":"https://api.github.com/users/Taringanet/events{/privacy}","received_events_url":"https://api.github.com/users/Taringanet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-03T23:23:29Z","updated_at":"2016-11-04T11:54:11Z","closed_at":null,"body":"I placed the svg on the same directory than the component `.js`, and then:\r\n\r\n```\r\n<SvgUri source={require('./logo_white.svg')} />\r\n```\r\n\r\nThis seems to work ok in debug mode, but when I build the release apk for android it crashes with:\r\n\r\n```\r\njava.lang.IllegalArgumentException: unexpected url: components_logo_logo_white\r\n \tat okhttp3.Request$Builder.url(Request.java:141)\r\n \tat com.facebook.react.modules.network.NetworkingModule.sendRequest(NetworkingModule.java:168)\r\n \tat java.lang.reflect.Method.invoke(Native Method)\r\n \tat com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:318)\r\n \tat com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)\r\n \tat com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)\r\n \tat android.os.Handler.handleCallback(Handler.java:751)\r\n \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n \tat com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)\r\n \tat android.os.Looper.loop(Looper.java:154)\r\n \tat com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)\r\n \tat java.lang.Thread.run(Thread.java:761)\r\nForce finishing activity com.app.staging/com.app.MainActivity\r\n```\r\n\r\nAny ideas? Am I doing anything wrong?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/matc4/react-native-svg-uri/issues/comments/258412750","html_url":"https://github.com/matc4/react-native-svg-uri/issues/13#issuecomment-258412750","issue_url":"https://api.github.com/repos/matc4/react-native-svg-uri/issues/13","id":258412750,"user":{"login":"matc4","id":4285148,"avatar_url":"https://avatars.githubusercontent.com/u/4285148?v=3","gravatar_id":"","url":"https://api.github.com/users/matc4","html_url":"https://github.com/matc4","followers_url":"https://api.github.com/users/matc4/followers","following_url":"https://api.github.com/users/matc4/following{/other_user}","gists_url":"https://api.github.com/users/matc4/gists{/gist_id}","starred_url":"https://api.github.com/users/matc4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matc4/subscriptions","organizations_url":"https://api.github.com/users/matc4/orgs","repos_url":"https://api.github.com/users/matc4/repos","events_url":"https://api.github.com/users/matc4/events{/privacy}","received_events_url":"https://api.github.com/users/matc4/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T11:54:11Z","updated_at":"2016-11-04T11:54:11Z","body":"I will close this issue. Please follow #12 "}}
{"actor":{"display_login":"matc4"}}