Skip to content

Commit

Permalink
bump up mlkit model versions for android
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Wei committed Sep 27, 2020
1 parent db7b1a8 commit ae1eea3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
15 changes: 9 additions & 6 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,19 @@ flutter {
}

dependencies {
implementation 'androidx.multidex:multidex:2.0.0'
implementation 'androidx.multidex:multidex:2.0.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
// Cf. https://firebase.google.com/docs/android/setup#add-sdks.
implementation 'com.google.firebase:firebase-analytics:17.2.1'
implementation 'com.google.firebase:firebase-auth:19.1.0'
implementation 'com.google.firebase:firebase-firestore:21.2.1'
// Cf. https://pub.dev/packages/firebase_ml_vision
api 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
implementation 'com.google.firebase:firebase-analytics:17.5.0'
implementation 'com.google.firebase:firebase-auth:19.4.0'
implementation 'com.google.firebase:firebase-firestore:21.6.0'
// Cf. https://firebase.google.com/docs/ml-kit/android/read-barcodes.
implementation 'com.google.firebase:firebase-ml-vision:24.0.3'
implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:20.0.1'
implementation 'com.google.firebase:firebase-ml-vision-face-model:20.0.1'
}

apply plugin: 'com.google.gms.google-services'
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.google.gms:google-services:4.3.2'
classpath 'com.google.gms:google-services:4.3.3'
}
}

Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ dev_dependencies:

dependency_overrides:
dartx: ^0.5.0
characters: ^0.5.0
path: ^1.6.4 # cf. https://github.com/hivedb/hive/issues/285#issuecomment-633815558

# The following section is specific to Flutter.
Expand Down

0 comments on commit ae1eea3

Please sign in to comment.