Skip to content

Commit

Permalink
Split google_ml_kit in multiple plugins (flutter-ml#215)
Browse files Browse the repository at this point in the history
Refactor: 
 - google_ml_kit

New:
 - google_mlkit_barcode_scanning
 - google_mlkit_commons
 - google_mlkit_face_detection
 - google_mlkit_image_labeling
 - google_mlkit_object_detection
 - google_mlkit_text_recognition
 - google_mlkit_digital_ink_recognition
 - google_mlkit_pose_detection
 - google_mlkit_language_id
 - google_mlkit_translation
 - google_mlkit_smart_reply
 - google_mlkit_entity_extraction
  • Loading branch information
fbernaly authored Apr 20, 2022
1 parent 8afde56 commit c4c9d98
Show file tree
Hide file tree
Showing 383 changed files with 8,930 additions and 6,317 deletions.
55 changes: 54 additions & 1 deletion .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,61 @@ jobs:
with:
java-version: '12.x'
- uses: subosito/[email protected]
- run: flutter pub get

- name: Install dependencies for google_ml_kit
working-directory: ./packages/google_ml_kit
run: flutter pub get

- name: Install dependencies for google_mlkit_barcode_scanning
working-directory: ./packages/google_mlkit_barcode_scanning
run: flutter pub get

- name: Install dependencies for google_mlkit_commons
working-directory: ./packages/google_mlkit_commons
run: flutter pub get

- name: Install dependencies for google_mlkit_face_detection
working-directory: ./packages/google_mlkit_face_detection
run: flutter pub get

- name: Install dependencies for google_mlkit_image_labeling
working-directory: ./packages/google_mlkit_image_labeling
run: flutter pub get

- name: Install dependencies for google_mlkit_digital_ink_recognition
working-directory: ./packages/google_mlkit_digital_ink_recognition
run: flutter pub get

- name: Install dependencies for google_mlkit_language_id
working-directory: ./packages/google_mlkit_language_id
run: flutter pub get

- name: Install dependencies for google_mlkit_object_detection
working-directory: ./packages/google_mlkit_object_detection
run: flutter pub get

- name: Install dependencies for google_mlkit_pose_detection
working-directory: ./packages/google_mlkit_pose_detection
run: flutter pub get

- name: Install dependencies for google_mlkit_text_recognition
working-directory: ./packages/google_mlkit_text_recognition
run: flutter pub get

- name: Install dependencies for google_mlkit_translation
working-directory: ./packages/google_mlkit_translation
run: flutter pub get

- name: Install dependencies for google_mlkit_entity_extraction
working-directory: ./packages/google_mlkit_entity_extraction
run: flutter pub get

- name: Install dependencies for google_mlkit_smart_reply
working-directory: ./packages/google_mlkit_smart_reply
run: flutter pub get

# Check for any formatting issues in the code.
- run: flutter format --set-exit-if-changed .

# Statically analyze the Dart code for any errors.
- run: flutter analyze .
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@
.vs/
.vscode/
.vscode
.vscode/*
!.vscode/tasks.json
!.vscode/settings.json

.melos_tool/*

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.packages
.pub-cache/
.pub/
**/build/
pubspec.lock

# Android related
**/android/**/gradle-wrapper.jar
Expand All @@ -41,6 +46,7 @@
example/android/app/google-services.json

# iOS/XCode related
.symlinks/
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
Expand All @@ -65,6 +71,13 @@ example/android/app/google-services.json
**/ios/Flutter/flutter_assets/
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
**/Flutter/ephemeral/
**/Flutter/Flutter.podspec
**/Flutter/App.framework/
**/Flutter/Flutter.framework/
**/Flutter/Generated.xcconfig
**/Flutter/flutter_assets/
xcuserdata/

# Exceptions to above rules.
!**/ios/**/default.mode1v3
Expand Down
7 changes: 7 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Below is a list of people and organizations that have contributed
# to the Flutter project. Names should be added to the list like so:
#
# Name/Organization <email address>

Francisco Bernal <[email protected]>
Bharat Biradar <[email protected]>
113 changes: 59 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,78 +1,83 @@
## 0.0.1
# Change Log

* TODO: Initial release
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 0.0.1+1
## 2022-04-19

* Update readme.md
### Changes

## 0.0.2
---

* New : Support for digital ink recognition API added
Packages with changes:

## 0.0.2+1
- [`google_ml_kit` - `v0.8.0`](#google_ml_kit---v080)
- [`google_mlkit_barcode_scanning` - `v0.0.1`](#google_mlkit_barcode_scanning---v001)
- [`google_mlkit_commons` - `v0.0.1`](#google_mlkit_commons---v001)
- [`google_mlkit_face_detection` - `v0.0.1`](#google_mlkit_face_detection---v001)
- [`google_mlkit_image_labeling` - `v0.0.1`](#google_mlkit_image_labeling---v001)
- [`google_mlkit_object_detection` - `v0.0.1`](#google_mlkit_object_detection---v001)
- [`google_mlkit_text_recognition` - `v0.0.1`](#google_mlkit_text_recognition---v001)
- [`google_mlkit_digital_ink_recognition` - `v0.0.1`](#google_mlkit_digital_ink_recognition---v001)
- [`google_mlkit_pose_detection` - `v0.0.1`](#google_mlkit_pose_detection---v001)
- [`google_mlkit_language_id` - `v0.0.1`](#google_mlkit_language_id---v001)
- [`google_mlkit_translation` - `v0.0.1`](#google_mlkit_translation---v001)
- [`google_mlkit_smart_reply` - `v0.0.1`](#google_mlkit_smart_reply---v001)
- [`google_mlkit_entity_extraction` - `v0.0.1`](#google_mlkit_entity_extraction---v001)

* Added documentation
---

## 0.0.3
#### `google_ml_kit` - `v0.8.0`

* New : Text Recognition API support
- **REFACTOR**: Split plugin in multiple plugins.

## 0.0.3+1
#### `google_mlkit_barcode_scanning` - `v0.0.1`

- Initial release.

* Update documentation.
#### `google_mlkit_commons` - `v0.0.1`

- Initial release.

## 0.1.0
#### `google_mlkit_face_detection` - `v0.0.1`

- Initial release.

* NULL SAFETY
#### `google_mlkit_image_labeling` - `v0.0.1`

- Initial release.

## 0.2.0
#### `google_mlkit_object_detection` - `v0.0.1`

- Initial release.

* Breaking changes in API outline (instance creation of detectors)
* New : Added language identifier API
#### `google_mlkit_text_recognition` - `v0.0.1`

- Initial release.

## 0.3.0
#### `google_mlkit_digital_ink_recognition` - `v0.0.1`

- Initial release.

* Add face detection API
* Add On device translation API
#### `google_mlkit_pose_detection` - `v0.0.1`

- Initial release.

## 0.4.0
#### `google_mlkit_language_id` - `v0.0.1`

- Initial release.

* Add face detection for iOS
* Add image labelling for iOS
* Add Entity Extraction for Android
#### `google_mlkit_translation` - `v0.0.1`
- Initial release.

## 0.5.0
#### `google_mlkit_smart_reply` - `v0.0.1`

- Initial release.

* Add Barcode Scanning for iOS
* Add Text Recognition for iOS
* Add Smart Reply Suggestion for Android
#### `google_mlkit_entity_extraction` - `v0.0.1`
- Initial release.

## 0.5.1

* Change Minimum iOS Deployment Target: 9.0
* Set podspecs s.static_framework = true

## 0.6.0

* Add Pose Detection for iOS
* Add Digital Ink Recognition for iOS
* Change Minimum iOS Deployment Target: 10.0

## 0.7.0

* Add firebase remote model support for image labelling .
* Change available API's to use unbundled models for Android.
* Update Pose Detector API version and add z co-ordinate.
* Fixes for barcode data parsing.

## 0.7.1

* Add podspec dependency version constraints

## 0.7.2
* Increase android sdk compile version to 30

## 0.7.3
* Increase android sdk compile version to 31
* Add android support for text-recognition v2
Loading

0 comments on commit c4c9d98

Please sign in to comment.