Skip to content
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2ff2116
feat: updated example app to Flutter 3.29 template
OutdatedGuy Mar 14, 2025
5594941
feat: updated google_mlkit_barcode_scanning to Flutter 3.29 template
OutdatedGuy Mar 14, 2025
965b3d8
feat: updated google_mlkit_commons to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
6b928b6
feat: updated google_mlkit_digital_ink_recognition to Flutter 3.29 te…
OutdatedGuy Mar 16, 2025
317827f
feat: updated google_mlkit_document_scanner to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
36ed737
feat: updated google_mlkit_entity_extraction to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
bc8106e
feat: updated google_mlkit_face_detection to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
6531988
feat: updated google_mlkit_face_mesh_detection to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
753eaab
feat: updated google_mlkit_image_labeling to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
207a21e
feat: updated google_mlkit_language_id to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
99b6013
feat: updated google_mlkit_object_detection to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
916c0cd
feat: updated google_mlkit_pose_detection to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
4961572
feat: updated google_mlkit_selfie_segmentation to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
1528f12
feat: updated google_mlkit_smart_reply to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
f1812b9
feat: updated google_mlkit_subject_segmentation to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
1ba3243
feat: updated google_mlkit_text_recognition to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
c0c9c69
feat: updated google_mlkit_translation to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
eb0d64e
feat: updated google_ml_kit to Flutter 3.29 template
OutdatedGuy Mar 16, 2025
57f1f73
chore: updated example app dependencies
OutdatedGuy Mar 16, 2025
7310a5d
docs: updated versioning and changelog
OutdatedGuy Mar 16, 2025
8881dfc
docs: updated readme for android compileSdkVersion
OutdatedGuy Mar 16, 2025
b7bca43
chore: updated google_mlkit_commons to 0.10.0
OutdatedGuy Mar 19, 2025
8fc0791
docs: update google_mlkit_text_recognition version
OutdatedGuy Mar 19, 2025
11ef00d
Revert "docs: update google_mlkit_text_recognition version"
OutdatedGuy Mar 19, 2025
6294772
docs: fix google_mlkit_text_recognition versioning
OutdatedGuy Mar 19, 2025
173a6a8
docs: updated Changelog with additional changes
OutdatedGuy Mar 19, 2025
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
124 changes: 124 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,130 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2025-03-19

### Changes

---

Packages with changes:

- [`google_ml_kit` - `v0.20.0`](#google_ml_kit---v0200)
- [`google_mlkit_barcode_scanning` - `v0.14.0`](#google_mlkit_barcode_scanning---v0140)
- [`google_mlkit_commons` - `v0.11.0`](#google_mlkit_commons---v0110)
- [`google_mlkit_digital_ink_recognition` - `v0.14.0`](#google_mlkit_digital_ink_recognition---v0140)
- [`google_mlkit_document_scanner` - `v0.4.0`](#google_mlkit_document_scanner---v040)
- [`google_mlkit_entity_extraction` - `v0.15.0`](#google_mlkit_entity_extraction---v0150)
- [`google_mlkit_face_detection` - `v0.13.0`](#google_mlkit_face_detection---v0130)
- [`google_mlkit_face_mesh_detection` - `v0.4.0`](#google_mlkit_face_mesh_detection---v040)
- [`google_mlkit_image_labeling` - `v0.14.0`](#google_mlkit_image_labeling---v0140)
- [`google_mlkit_language_id` - `v0.13.0`](#google_mlkit_language_id---v0130)
- [`google_mlkit_object_detection` - `v0.15.0`](#google_mlkit_object_detection---v0150)
- [`google_mlkit_pose_detection` - `v0.14.0`](#google_mlkit_pose_detection---v0140)
- [`google_mlkit_selfie_segmentation` - `v0.10.0`](#google_mlkit_selfie_segmentation---v0100)
- [`google_mlkit_smart_reply` - `v0.13.0`](#google_mlkit_smart_reply---v0130)
- [`google_mlkit_subject_segmentation` - `v0.0.2`](#google_mlkit_subject_segmentation---v002)
- [`google_mlkit_text_recognition` - `v0.16.0`](#google_mlkit_text_recognition---v0150)
- [`google_mlkit_translation` - `v0.13.0`](#google_mlkit_translation---v0130)

---

#### `google_ml_kit` - `v0.20.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11

#### `google_mlkit_barcode_scanning` - `v0.14.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_commons` - `v0.11.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11

#### `google_mlkit_digital_ink_recognition` - `v0.14.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_document_scanner` - `v0.4.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11

#### `google_mlkit_entity_extraction` - `v0.15.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_face_detection` - `v0.13.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_face_mesh_detection` - `v0.4.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_image_labeling` - `v0.14.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_language_id` - `v0.13.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11

#### `google_mlkit_object_detection` - `v0.15.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_pose_detection` - `v0.14.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_selfie_segmentation` - `v0.10.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_smart_reply` - `v0.13.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11

#### `google_mlkit_subject_segmentation` - `v0.0.2`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

#### `google_mlkit_text_recognition` - `v0.16.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11

#### `google_mlkit_translation` - `v0.13.0`

* Increase android sdk compile version to 35
* Updates Java compatibility version to 11
* Update dependencies.

## 2024-10-07

### Changes
Expand Down
12 changes: 8 additions & 4 deletions packages/example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
./android/app/google-services.json
.swiftpm/
migrate_working_dir/

# IntelliJ related
*.iml
Expand All @@ -27,16 +30,17 @@
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
27 changes: 25 additions & 2 deletions packages/example/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,30 @@
# This file should be version controlled and should not be manually edited.

version:
revision: 1aafb3a8b9b0c36241c5f5b34ee914770f015818
channel: stable
revision: "c23637390482d4cf9598c3ce3f2be31aa7332daf"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
- platform: android
create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
- platform: ios
create_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf
base_revision: c23637390482d4cf9598c3ce3f2be31aa7332daf

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
2 changes: 1 addition & 1 deletion packages/example/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# google\_ml\_kit example app
# google_ml_kit example app

Demonstrates how to use the google_mlkit plugins.

Expand Down
3 changes: 2 additions & 1 deletion packages/example/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ gradle-wrapper.jar
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
.cxx/

# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
# See https://flutter.dev/to/reference-keystore
key.properties
**/*.keystore
**/*.jks
72 changes: 0 additions & 72 deletions packages/example/android/app/build.gradle

This file was deleted.

51 changes: 51 additions & 0 deletions packages/example/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}

android {
namespace = "com.google.ml.kit.flutter.example"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}

defaultConfig {
applicationId = "com.google.ml.kit.flutter.example"
minSdk = 24
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}

buildTypes {
release {
signingConfig = signingConfigs.getByName("debug")
}
}

aaptOptions {
noCompress("tflite") // Your model's file extension: "tflite", "lite", etc.
}
}

dependencies {
// Add language package you need to use
implementation("com.google.mlkit:text-recognition-chinese:16.0.0")
implementation("com.google.mlkit:text-recognition-devanagari:16.0.0")
implementation("com.google.mlkit:text-recognition-japanese:16.0.0")
implementation("com.google.mlkit:text-recognition-korean:16.0.0")
}

flutter {
source = "../.."
}
5 changes: 3 additions & 2 deletions packages/example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application
android:name="${applicationName}"
android:label="ML Kit in Flutter"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:enableOnBackInvokedCallback="true">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
Expand Down Expand Up @@ -38,7 +39,7 @@
android:value="2" />
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility?hl=en and
https://developer.android.com/training/package-visibility and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.

In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package com.google.ml.kit.flutter.example

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity()
class MainActivity : FlutterActivity()
18 changes: 0 additions & 18 deletions packages/example/android/build.gradle

This file was deleted.

Loading