File tree 4 files changed +7
-3
lines changed
packages/camera/camera_web
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.0
2
+
3
+ * ** BREAKING CHANGE** : Renames error code ` cameraPermission ` to ` CameraAccessDenied ` to be consistent with other platforms.
4
+
1
5
## 0.2.1+6
2
6
3
7
* Minor fixes for new analysis options.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ void main() {
46
46
testWidgets ('permissionDenied' , (WidgetTester tester) async {
47
47
expect (
48
48
CameraErrorCode .permissionDenied.toString (),
49
- equals ('cameraPermission ' ),
49
+ equals ('CameraAccessDenied ' ),
50
50
);
51
51
});
52
52
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class CameraErrorCode {
32
32
/// The camera cannot be used or the permission
33
33
/// to access the camera is not granted.
34
34
static const CameraErrorCode permissionDenied =
35
- CameraErrorCode ._('cameraPermission ' );
35
+ CameraErrorCode ._('CameraAccessDenied ' );
36
36
37
37
/// The camera options are incorrect or attempted
38
38
/// to access the media input from an insecure context.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_web
2
2
description : A Flutter plugin for getting information about and controlling the camera on Web.
3
3
repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera_web
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5
- version : 0.2.1+6
5
+ version : 0.3.0
6
6
7
7
environment :
8
8
sdk : " >=2.12.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments