react-native-keyboard-spacer icon indicating copy to clipboard operation
react-native-keyboard-spacer copied to clipboard

Crash on starting iOS production build with [email protected]

Open jpapillon opened this issue 7 years ago • 2 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.

jpapillon avatar Oct 06 '17 13:10 jpapillon

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.

jpapillon avatar Oct 06 '17 15:10 jpapillon

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

Andr3wHur5t avatar Oct 08 '17 20:10 Andr3wHur5t