Skip to content

Commit

Permalink
update library versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gev2002 committed Aug 12, 2024
1 parent 7580410 commit f00288d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A plugin to Scanning Text,Translate using ML Kit Text Recognition and ML Kit Translation. With High Performance and many features.
# 🚨 Required Modules
react-native-vision-camera = 4.3.2 <br/>
react-native-vision-camera = 4.5.1 <br/>
react-native-worklets-core = 1.3.3 <br/>

## 💻 Installation
Expand Down
21 changes: 14 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,20 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:19.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-chinese:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-devanagari:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-japanese:16.0.0'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-korean:16.0.0'
implementation 'com.google.mlkit:translate:17.0.2'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:19.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-chinese:16.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-devanagari:16.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-japanese:16.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-korean:16.0.1'
implementation 'com.google.mlkit:translate:17.0.3'
implementation project(':react-native-vision-camera')
implementation "androidx.camera:camera-core:1.1.0"
implementation "androidx.camera:camera-core:1.3.4"

// For using the models in Google Play Services
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:19.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-chinese:16.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-devanagari:16.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-japanese:16.0.1'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition-korean:16.0.1'
}

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-vision-camera-text-recognition",
"version": "3.0.4",
"version": "3.0.5",
"description": "A plugin to Scanning Text,Translate using ML Kit Text Recognition and ML Kit Translation. With High Performance and many features.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -76,7 +76,7 @@
"react": "18.2.0",
"react-native": "0.74.1",
"react-native-builder-bob": "^0.23.2",
"react-native-vision-camera": "^4.3.2",
"react-native-vision-camera": "^4.5.1",
"react-native-worklets-core": "^1.3.3",
"release-it": "^15.0.0",
"turbo": "^1.10.7",
Expand Down

0 comments on commit f00288d

Please sign in to comment.