-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
useFocusEffect(
React.useCallback(() => {
return () => {
Orientation.lockToPortrait();
StatusBar.setHidden(false);
};
}, [navigation]),
);
const handleFullscreenToggle = () => {
if (isFullScreen) {
Orientation.lockToPortrait();
setFullScreen(false);
StatusBar.setHidden(false);
setOrientation('portrait');
} else {
Orientation.lockToPortrait();
setFullScreen(true);
StatusBar.setHidden(true);
setOrientation('portrait');
}
};
const handleOrientationToggle = () => {
if (orientation === 'landscape') {
Orientation.lockToPortrait();
setOrientation('portrait');
} else {
StatusBar.setHidden(true);
Orientation.lockToLandscape();
setOrientation('landscape');
}
};
How to solve this issue in expo for android platform.
Robiullah2244erickhdzreyes, linusrush and apcexchange
Metadata
Metadata
Assignees
Labels
No labels