viewController.js
// some other code above his useEffect(() => { determineAndSetOrientation(); Dimensions.addEventListener(\'change\', determineAndSetO