Please can you update to new react-native version?
https://github.com/facebook/react-native/releases/tag/v0.40.0
I am getting the following file not found error on RN 0.40.0:

I know this isn't really a good long term solution, and I don't know enough about the react build processes to do it right, but if anyone else is running into this problem and wants a quick fix, you can just remove the include line and replace it with this:
@interface Orientation : NSObject <RCTBridgeModule>
+ (void)setOrientation: (UIInterfaceOrientationMask)orientation;
+ (UIInterfaceOrientationMask)getOrientation;
@end
I believe the fix for this is a simple two line alteration in the import statements, as contained in this pull request:
This is following Facebook's direction in how to update third party modules for react native 40.0.
When you plan to approve one of PR about this issue?
https://github.com/yamill/react-native-orientation/pull/154
https://github.com/yamill/react-native-orientation/pull/153
https://github.com/yamill/react-native-orientation/pull/146
@yamill can I do something help you land one of these PRs?
5a16ac8a3f96e12969d86a1dd1f6d548efc213b2 was merged. Should resolve RN 0.40 + issues.
Most helpful comment
I am getting the following file not found error on RN 0.40.0: