Repository to test react-native-orientation lockToX
https://github.com/yamill/react-native-orientation
Make sure to have done the following:
- Replace
#import Orientation.h
to#import "../../node_modules/react-native-orientation/iOS/RCTOrientation/Orientation.h"
in AppDelegate.m - Replace
#import RCTBridgeModule.h
to#import <React/RCTBridgeModule.h>
in yournode_modules/react-native-orientation/iOS/Orientation.h