When passing a local svg file to Android using require(''), android treats it as a url and tries to get its scheme. However, the local file's scheme is null instead of http or https. So it raises exception in native BlobModule.java module, which used a method supports from native NetworkingModule.java
Packages: react: ^16.3.0-alpha.1 react-native: 0.54.2
When passing a local svg file to Android using require(''), android treats it as a url and tries to get its scheme. However, the local file's scheme is
null
instead ofhttp
orhttps
. So it raises exception in nativeBlobModule.java
module, which used a methodsupports
from nativeNetworkingModule.java
The line in native module that breaks:![bug](https://user-images.githubusercontent.com/15934059/38380243-05f127e8-38b8-11e8-82e9-b95dfe18cb55.jpeg)