I am getting a warning when running my React Native app on iOS:
Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
How can I fix this?
This occurs with RN 0.55.3 and probably any newer version.
For now it's not the best solution, but to avoid the warning we can ignore it:
import { YellowBox } from 'react-native';
YellowBox.ignoreWarnings(['Class RCTCxxModule']);
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