G.Burak

Results 3 comments of G.Burak

Does it throw any exception?

currently not available but can be added in later versions

Seems like this is the only solution for now ```javascript import { Dimensions } from 'react-native'; import Orientation from 'react-native-orientation-locker'; Dimensions.addEventListener('change', () => { Orientation.getOrientation((orientation) => { console.log(orientation) }); });...