Closed RobertBiehl closed 7 years ago
https://github.com/facebook/react-native/releases/tag/v0.40.0
After e1577df, Native code on iOS must refer to headers out of the react namespace. Previously the following would work:
#import "RCTUtils.h"
But now all headers have been moved:
#import <React/RCTUtils.h>
+1
Thanks @RobertBiehl
Add conditional import to fix build. See "breaking changes" in https://github.com/facebook/react-native/releases/tag/v0.40.0