Skip to content

Commit

Permalink
Merge pull request #20 from nevissecurity/feature/NEVISACCESSAPP-5576-…
Browse files Browse the repository at this point in the history
…update-react-native-vision-camera

NEVISACCESSAPP-5576: Update react-native-vision-camera dependency to …
  • Loading branch information
balazs-gerlei authored Feb 7, 2024
2 parents e703eed + 2077421 commit 5fe24cb
Show file tree
Hide file tree
Showing 6 changed files with 131 additions and 124 deletions.
4 changes: 0 additions & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />

<meta-data
android:name="com.google.mlkit.vision.DEPENDENCIES"
android:value="barcode" />

<application
android:name=".MainApplication"
android:label="@string/app_name"
Expand Down
3 changes: 3 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ newArchEnabled=false
# If set to false, you will be using JSC instead.
hermesEnabled=true

# Download MLKit model to be able to use QR code scanning with React Native Vision Camera
VisionCamera_enableCodeScanner=true

# GitHub
#GITHUB_USERNAME=<username>
#GITHUB_PERSONAL_ACCESS_TOKEN=<token>
6 changes: 3 additions & 3 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ PODS:
- RCT-Folly (= 2021.07.22.00)
- React-Core
- SocketRocket (0.6.1)
- VisionCamera (3.6.4):
- VisionCamera (3.8.2):
- React
- React-callinvoker
- React-Core
Expand Down Expand Up @@ -754,10 +754,10 @@ SPEC CHECKSUMS:
RNPermissions: a446c2ce1f3bf54383c283798307cca5f50d70e4
RNScreens: 3c2d122f5e08c192e254c510b212306da97d2581
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
VisionCamera: 1910a51e4c6f6b049650086d343090f267b4c260
VisionCamera: 4b98b273902ac18491bb68481b6601f1f0da0f2d
Yoga: b76f1acfda8212aa16b7e26bcce3983230c82603
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: c8ed3c54ecd3aebb7a1d842c50aab8d0cd9dec40

COCOAPODS: 1.14.2
COCOAPODS: 1.14.3
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,10 @@
);
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"-DFOLLY_NO_CONFIG",
Expand Down Expand Up @@ -683,7 +686,10 @@
"\"$(inherited)\"",
);
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "$(inherited) ";
OTHER_CFLAGS = (
"$(inherited)",
" ",
);
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"-DFOLLY_NO_CONFIG",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"react-native-safe-area-context": "4.7.4",
"react-native-screens": "3.27.0",
"react-native-uuid": "2.0.1",
"react-native-vision-camera": "3.6.4",
"react-native-vision-camera": "3.8.2",
"set-cookie-parser": "2.6.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 5fe24cb

Please sign in to comment.