Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

873: Use react-native-vision-camera and react-native-image-picker #1034

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ android {
versionCode project.VERSION_CODE.toInteger()
versionName project.VERSION_NAME
}
missingDimensionStrategy 'react-native-camera', 'general'
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
vectorDrawables.useSupportLibrary = true
if (isNewArchitectureEnabled()) {
Expand Down
5 changes: 4 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
newArchEnabled=false

# https://react-native-vision-camera.com/docs/guides/code-scanning#setup
VisionCamera_enableCodeScanner=true
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@
"react": "18.1.0",
"react-native": "0.70.9",
"react-native-audio-recorder-player": "3.5.1",
"react-native-camera": "4.2.1",
"react-native-device-info": "^10.13.1",
"react-native-element-dropdown": "^2.10.4",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "2.9.0",
"react-native-image-crop-picker": "^0.40.3",
"react-native-image-picker": "^7.1.2",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-paper": "5.12.3",
Expand All @@ -61,6 +60,7 @@
"react-native-svg-transformer": "^1.3.0",
"react-native-tts": "4.1.0",
"react-native-vector-icons": "^10.0.3",
"react-native-vision-camera": "^4.5.3",
"react-navigation-header-buttons": "^10.0.0",
"string-similarity": "^4.0.4",
"styled-components": "^6.1.8",
Expand Down
Loading