react-native-device-brightness
react-native-device-brightness copied to clipboard
'RCTBridgeModule.h' file not found
Hey, is there any possibility for the update of this library fro React Native 0.60?
I tried everything but still getting the same error in iOS
hi @SnehalAgrawal
Just tell RN it doesn't support autolinking on ios by editing your react-native.config.js
like so:
module.exports = {
dependencies: {
'react-native-device-brightness': {
platforms: {
ios: null,
},
},
},
}
and please refer https://stackoverflow.com/questions/41663002/react-rctbridgemodule-h-file-not-found
btw: pull request https://github.com/Calvin-Huang/react-native-device-brightness/pull/24 support autolinking.
I have the same issue, adding the react-native.config.js doesn't resolve it, what else do I need to do? thanks.