[Android] Local html file don’t work on debug

Works on core RN’s webview, but this package make this error:

TypeError: TypeError: TypeError: source is not an Object. (evaluating ”method’ in source’)

with local file in source prop
source={require('../index.html')}

But works correctly with url in source prop
source={{uri: 'http://mysite.com' }}

Android Debug

1 possible answer(s) on “[Android] Local html file don’t work on debug

  1. Yes Same here.
    I need to render local HTML file with Javascript and assest in it.
    So for tempary fix i have to host that page on web and access it from there. But that solution is so slow rendering… 🙁