almost / react-native-html-webview

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

My app crashed after I require the component .How to solve the problem?(react 0.10.0-rc) #8

Closed everfire130 closed 9 years ago

everfire130 commented 9 years ago

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'customDirectEventTypes must return an array, but AIBHTMLWebViewManager returned __NSDictionaryI'

ninamanalo commented 9 years ago

same error here

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'customDirectEventTypes must return an array, but AIBHTMLWebViewManager returned __NSDictionaryI'
almost commented 9 years ago

This is a change in RN 0.10.0-rc: https://github.com/facebook/react-native/commit/48af214216ce2b180035b44b4a9a7cbb010073ca

I've pushed a fix to master but don't have time to test properly now. Could someone please try it and let me know if it's ok?

ninamanalo commented 9 years ago

Thanks for the update. It already works when I launched the app, but still haven't tested if there are effects on the library functionalities.

almost commented 9 years ago

Thanks @ninamanalo, I've also now had a chance to test it so I've pushed a new release to NPM On Wed, 9 Sep 2015 at 04:21 ninamanalo notifications@github.com wrote:

Thanks for the update. It already works when I launched the app, but still haven't tested if there are effects on the library functionalities.

— Reply to this email directly or view it on GitHub https://github.com/almost/react-native-html-webview/issues/8#issuecomment-138766310 .