First prototype of image upload working. IO-397 IO-398
This commit is contained in:
@@ -47,7 +47,6 @@ export function ScreenCamera({ cameraJobId, cameraJob, addPhoto }) {
|
||||
};
|
||||
|
||||
const handleShortCapture = async () => {
|
||||
console.log("Taking the picture!");
|
||||
if (cameraRef.current) {
|
||||
const options = {
|
||||
//quality: 0.5,
|
||||
@@ -109,7 +108,7 @@ export function ScreenCamera({ cameraJobId, cameraJob, addPhoto }) {
|
||||
return <Text>No access to camera</Text>;
|
||||
}
|
||||
|
||||
const { hasCameraPermission, flashMode, cameraType, capturing } = state;
|
||||
const { flashMode, cameraType, capturing } = state;
|
||||
|
||||
return (
|
||||
<View style={{ display: "flex", flex: 1 }}>
|
||||
|
||||
Reference in New Issue
Block a user