diff --git a/example/src/Splash.tsx b/example/src/Splash.tsx index a920a3b..604e5c9 100644 --- a/example/src/Splash.tsx +++ b/example/src/Splash.tsx @@ -47,7 +47,7 @@ export const Splash: NavigationFunctionComponent = ({ componentId }) => { }, []); useEffect(() => { - if (cameraPermissionStatus === 'authorized' && microphonePermissionStatus !== 'not-determined') { + if (cameraPermissionStatus === 'authorized' && microphonePermissionStatus === 'authorized') { Navigation.setRoot({ root: { stack: { @@ -77,7 +77,7 @@ export const Splash: NavigationFunctionComponent = ({ componentId }) => { )} - {microphonePermissionStatus === 'not-determined' && ( + {microphonePermissionStatus !== 'authorized' && ( Vision Camera needs Microphone permission.