Skip to content

Commit 4cdf737

Browse files
(fix) flutter: lower minimum SDK floor to Flutter 3.24.0 (#84)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 512b97e commit 4cdf737

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

flutter/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
A USB Video Class (UVC) camera plugin for Flutter based on [UVCCamera](https://uvccamera.org) library for Android,
88
brought to you by [Alexey Pelykh](https://alexey-pelykh.com).
99

10+
## Compatibility
11+
12+
**Flutter 3.29.2+ is strongly recommended.** Flutter 3.27–3.28 enabled Impeller by default on Android, which causes
13+
black screens on some devices (MediaTek/PowerVR GPUs). This was fixed in Flutter 3.29.0 with automatic GLES fallback
14+
(and a crash fix in 3.29.2). If you use Flutter 3.27.x–3.28.x and experience a black screen, disable Impeller:
15+
16+
```xml
17+
<meta-data android:name="io.flutter.embedding.android.EnableImpeller" android:value="false" />
18+
```
19+
20+
Flutter 3.24–3.26 users are unaffected (Impeller was not default on Android).
21+
1022
## Usage
1123

1224
The plugin's API is intentionally kept similar to the [camera](https://pub.dev/packages/camera) package. See the

flutter/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: "Demonstrates how to use the uvccamera plugin."
33
publish_to: none
44

55
environment:
6-
sdk: ^3.7.0
6+
sdk: ">=3.5.0 <4.0.0"
77

88
dependencies:
99
flutter:

flutter/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ platforms:
88
android:
99

1010
environment:
11-
sdk: ^3.7.0
12-
flutter: ">=3.29.2"
11+
sdk: ">=3.5.0 <4.0.0"
12+
flutter: ">=3.24.0"
1313

1414
dependencies:
1515
flutter:

0 commit comments

Comments
 (0)