Skip to content

Commit de7a0a8

Browse files
authored
Merge pull request #1107 from mendix/moo/moo-2110/update-camera-package
[MOO-2110] Add configurations for react-native-vision-camera package migration
2 parents 56b166d + dc9f329 commit de7a0a8

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- We added a new property to gradle.properties for scanning QR codes.
10+
911
## Fixes
1012

1113
- We have upgraded `@mendix/native` to version 9.0.1

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ android.suppressUnsupportedCompileSdk=33
2626
newArchEnabled=false
2727
hermesEnabled=true
2828
mendixnative.cookieEncryption=false
29+
VisionCamera_enableCodeScanner=true
2930

3031
# Enable edge-to-edge display
3132
edgeToEdgeEnabled=true

ios/Podfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ post_install do |installer|
114114
if target.name == 'react-native-video'
115115
config.build_settings['SWIFT_VERSION'] = '5.0'
116116
end
117+
if target.name == 'VisionCamera'
118+
config.build_settings['SWIFT_VERSION'] = '5.2'
119+
end
117120
end
118121
end
119122
# Ensure deployment_target is set correctly for all projects

0 commit comments

Comments
 (0)