Andr3wHur5t / react-native-keyboard-spacer

Plug and play react-native keyboard spacer view.
MIT License
1.56k stars 219 forks source link

Fixes crash using Release mode on RN 0.49 #62

Closed wildseansy closed 7 years ago

wildseansy commented 7 years ago

Because View.propTypes no longer exists in React Native 0.49, View.propTypes.style throws an exception for any app using React Native > 0.49. Should use ViewPropTypes.style instead.

This doesn't happen in dev mode, only in release. Dev mode I think just throws a warning.

Andr3wHur5t commented 7 years ago

Thanks for the PR!