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