From dd9e80e00bef106bef4cca61523baddac86f2c05 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Thu, 20 Jun 2024 17:19:13 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E2=9E=96=20Only=20allow=20`camera=5Fandroi?= =?UTF-8?q?d`=20before=20`0.10.9+4`=20To=20resolves=20https://github.com/f?= =?UTF-8?q?lutter/flutter/issues/150549?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pubspec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/pubspec.yaml b/pubspec.yaml index c4ecab4..8778e0e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,6 +25,7 @@ dependencies: wechat_picker_library: ^1.0.0 camera: ^0.10.0 + camera_android: '>=0.10.0 <0.10.9+4' camera_platform_interface: ^2.1.5 path: ^1.8.0 From fae98201e415ea710507d9ca51dba18dfaee0fc8 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Thu, 20 Jun 2024 17:20:05 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=94=96=204.2.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 701b8dc..439e5ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ that can be found in the LICENSE file. --> See the [Migration Guide](guides/migration_guide.md) for breaking changes between versions. +## 4.3.0 + +### Fixes + +- Constraints `camera_android` version to resolves https://github.com/flutter/flutter/issues/150549. + ## 4.2.2 ### Fixes diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 532e018..100acfd 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: wechat_camera_picker_demo description: A new Flutter project. -version: 4.2.2+34 +version: 4.2.3+35 publish_to: none environment: diff --git a/pubspec.yaml b/pubspec.yaml index 8778e0e..6dc477d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: wechat_camera_picker -version: 4.2.2 +version: 4.2.3 description: | A camera picker for Flutter projects based on WeChat's UI, which is also a separate runnable extension to the From 31c7f013d8e73c7482611368f81ffb7858bab5ce Mon Sep 17 00:00:00 2001 From: Alex Li Date: Thu, 20 Jun 2024 17:24:57 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=94=A5=20Lints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/src/widgets/camera_picker.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/widgets/camera_picker.dart b/lib/src/widgets/camera_picker.dart index 158dbce..f6bcbed 100644 --- a/lib/src/widgets/camera_picker.dart +++ b/lib/src/widgets/camera_picker.dart @@ -92,14 +92,12 @@ class CameraPicker extends StatefulWidget { primaryContainer: Colors.grey[900], secondary: themeColor, secondaryContainer: themeColor, - background: Colors.grey[900]!, surface: Colors.grey[900]!, brightness: Brightness.dark, error: const Color(0xffcf6679), onPrimary: Colors.black, onSecondary: Colors.black, onSurface: Colors.white, - onBackground: Colors.white, onError: Colors.black, ), ); From 8407a6fcef214b514a19103ffa92a07ee23f5e8b Mon Sep 17 00:00:00 2001 From: Alex Li Date: Thu, 20 Jun 2024 17:27:35 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=94=96=204.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 100acfd..dd1a648 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: wechat_camera_picker_demo description: A new Flutter project. -version: 4.2.3+35 +version: 4.3.0+35 publish_to: none environment: diff --git a/pubspec.yaml b/pubspec.yaml index 6dc477d..e3898ee 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: wechat_camera_picker -version: 4.2.3 +version: 4.3.0 description: | A camera picker for Flutter projects based on WeChat's UI, which is also a separate runnable extension to the