In React-Native 0.29 and 0.30.
When I running on iOS device using the offline bundle, always got Error information below:
Unhandled JS Exception: Module RCTLog is not a registered callable module.
RCTFatal + 124
-[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 584
+ 144
+ 296
+ 68
-[RCTModuleMethod invokeWithBridge:module:arguments:] + 1684
-[RCTBatchedBridge _handleRequestNumber:moduleID:methodID:params:] + 712
__33-[RCTBatchedBridge handleBuffer:]_block_invoke.452 + 1144
...
Bundle with:
react-native bundle --entry-file ./index.ios.js --platform ios --dev false --bundle-output ./Example/index.ios.jsbundle --assets-dest ./Example/ --verbose
Dose any one got the same issue, how can I fix it, Thx.
Add var RCTLog = require('RCTLog');
to index.ios.js
Its actually a bug https://github.com/facebook/react-native/issues/8663
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With