React Native landscape mode for only one page

react-native

Solution

There is a very well built package : react-native-orientation

The only downside is that you'll need to specify in every scene of your app the orientation with :

`Orientation.lockToPortrait();`

or

`Orientation.lockToLandscape();`

Problem

Is it possible in react native to have the app run in portrait mode but have one page run in landscape mode? I know in xcode you have to select portrait or landscape at the beginning so I am a little confused as to how to make all pages in the app portrait except one.

Original source