React Native Yellow Warnings - TwoGears/hakomo-guides GitHub Wiki

This is a guide on solving react yellow warnings

The ugly hack for things that can't be fixed

import { YellowBox } from 'react-native';

YellowBox.ignoreWarnings([
    'RCTBridge'
]);

Errors

  • Unable to find module for UIManager

I am not sure why this happens. Looks like it is still an open issue: https://github.com/facebook/react-native/pull/26861

and some discussion: https://github.com/facebook/react-native/issues/23235

The only possible solution i found is a hack in iOS /AppDelegate.m:

#if RCT_DEV
- (BOOL)bridge:(RCTBridge *)bridge didNotFindModule:(NSString *)moduleName {
  return YES;
}
#endif

I have not tested it yet.


  • RCTBridge required dispatch_sync to load RCTDevLoadingView. this may lead to deadlocks

https://github.com/facebook/react-native/issues/16376


  • Did not receive response to shouldStartLoad in time, defaulting to YES

This one comes from the WebView. Blank project with WebView does not have that issue.