GitHub repository: Dimon70007/react-native-orientation
Description: Listen to device orientation changes in react-native and set preferred orientation on screen to screen basis.