ttdung11t2 / react-native-confirmation-code-input

A react-native component to input confirmation code for both Android and IOS
MIT License
411 stars 349 forks source link

Fix for React Native 44+ #3

Closed PaitoAnderson closed 6 years ago

PaitoAnderson commented 6 years ago

I encountered this exception after deploying a build to TestFlight with your library.

Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'u.View.propTypes.style')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'u.View.prop..., stack:

This fixes the problem for me, and hopefully doesn't break RN <44.