Skip to content

Commit

Permalink
➖ Only allow camera_android before 0.10.9+4 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored Jun 20, 2024
1 parent 6c8235c commit fb2b8a4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: wechat_camera_picker_demo
description: A new Flutter project.
version: 4.2.2+34
version: 4.3.0+35
publish_to: none

environment:
Expand Down
2 changes: 0 additions & 2 deletions lib/src/widgets/camera_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
);
Expand Down
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: wechat_camera_picker
version: 4.2.2
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
Expand All @@ -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
Expand Down

0 comments on commit fb2b8a4

Please sign in to comment.