Skip to content

Commit

Permalink
Merge pull request #36213 from margelo/fix/36098-vision-camera-v2-bug…
Browse files Browse the repository at this point in the history
…-disappearing

Fix #36098 Camera doesn't load when trying to smartscan a receipt
  • Loading branch information
mountiny authored Feb 9, 2024
2 parents 2017a3a + ce0bca6 commit de26ff3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"react-native-tab-view": "^3.5.2",
"react-native-url-polyfill": "^2.0.0",
"react-native-view-shot": "3.8.0",
"react-native-vision-camera": "2.16.5",
"react-native-vision-camera": "2.16.8",
"react-native-web": "^0.19.9",
"react-native-web-linear-gradient": "^1.1.2",
"react-native-webview": "13.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const NavigationAwareCamera = React.forwardRef(({cameraTabIndex, ...props}, ref)
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
isActive={isCameraActive}
photo={isCameraActive}
/>
);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ function IOURequestStepScan({
device={device}
style={[styles.flex1]}
zoom={device.neutralZoom}
photo
cameraTabIndex={1}
orientation="portrait"
/>
Expand Down

0 comments on commit de26ff3

Please sign in to comment.