almost / react-native-html-webview

Display HTML in a UIWebView, optionally sanitizing it first
MIT License
105 stars 20 forks source link

Android support? #13

Closed patoroco closed 8 years ago

patoroco commented 8 years ago

Hi,

do you have any plan about Android support with this library?

react-native currently doesn't have official WebView, so it should be interesting to have the same component in both platforms.

Thanks.

almost commented 8 years ago

React Native does actually have a webview built in:

http://facebook.github.io/react-native/docs/webview.html

patoroco commented 8 years ago

It's strange, because on the one hand they talk about webviews in android as a future plan (http://facebook.github.io/react-native/docs/known-issues.html#views), but on the other hand, they have some properties with android suffixes (i.e. http://facebook.github.io/react-native/docs/webview.html#javascriptenabledandroid).

Anyway, I'm getting a No ViewManager defined for class RCTWebView error, which I was googling, and I found this issue: https://github.com/facebook/react-native/issues/2701 which refer directly to the first link that I wrote (http://facebook.github.io/react-native/docs/known-issues.html#views).