Andr3wHur5t / react-native-keyboard-spacer

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

Crash on starting iOS production build with react-native@0.49.1 #63

Open jpapillon opened 7 years ago

jpapillon commented 7 years ago

When starting the iOS prod build, it crashes with this error in the console: [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'p.View.propTypes.style')

Debug builds are fine.

jpapillon commented 7 years ago

Actually, the official build from npm: https://registry.npmjs.org/react-native-keyboard-spacer/-/react-native-keyboard-spacer-0.4.0.tgz doesn't have the same source code as the node_module being installed locally when doing an npm install, which makes it work in debug mode, but not in production. A new npm official version should be built, I believe.

Andr3wHur5t commented 7 years ago

I've just pushed out a new version, if you upgrade this should be fixed.