File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77A USB Video Class (UVC) camera plugin for Flutter based on [ UVCCamera] ( https://uvccamera.org ) library for Android,
88brought 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
1224The plugin's API is intentionally kept similar to the [ camera] ( https://pub.dev/packages/camera ) package. See the
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: "Demonstrates how to use the uvccamera plugin."
33publish_to : none
44
55environment :
6- sdk : ^3.7.0
6+ sdk : " >=3.5.0 <4.0.0 "
77
88dependencies :
99 flutter :
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ platforms:
88 android :
99
1010environment :
11- sdk : ^3.7.0
12- flutter : " >=3.29.2 "
11+ sdk : " >=3.5.0 <4.0.0 "
12+ flutter : " >=3.24.0 "
1313
1414dependencies :
1515 flutter :
You can’t perform that action at this time.
0 commit comments