react-native-community/hooks

Feature request: differentiate landscape-left from landscape-right

eddieSullivan opened this issue · 0 comments

Currently, useDeviceOrientation only tells us "landscape" or "portrait". But devices actually have four orientations, not two -- portrait up, portrait down, landscape left, and landscape right. It would be very useful if the hook could support all device orientations.