Andr3wHur5t / react-native-keyboard-spacer

Plug and play react-native keyboard spacer view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jpapillon opened this issue · comments

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.

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.

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