File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
- ## NEXT
1
+ ## 0.10.0
2
2
3
+ * ** Breaking Change** Bumps default camera_web package version, which updates permission exception code from ` cameraPermission ` to ` CameraAccessDenied ` .
4
+ * ** Breaking Change** Bumps default camera_android package version, which updates permission exception code from ` cameraPermission ` to
5
+ ` CameraAccessDenied ` and ` AudioAccessDenied ` .
3
6
* Ignores unnecessary import warnings in preparation for [ upcoming Flutter changes] ( https://github.com/flutter/flutter/pull/106316 ) .
4
7
5
8
## 0.9.8+1
Original file line number Diff line number Diff line change @@ -98,8 +98,6 @@ Here is a list of all permission error codes that can be thrown:
98
98
99
99
- ` AudioAccessRestricted ` : iOS only for now. Thrown when audio access is restricted and users cannot grant permission (parental control).
100
100
101
- - ` cameraPermission ` : Android and Web only. A legacy error code for all kinds of camera permission errors.
102
-
103
101
### Example
104
102
105
103
Here is a small example flutter app displaying a full screen camera preview.
Original file line number Diff line number Diff line change @@ -716,10 +716,6 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
716
716
// iOS only
717
717
showInSnackBar ('Audio access is restricted.' );
718
718
break ;
719
- case 'cameraPermission' :
720
- // Android & web only
721
- showInSnackBar ('Unknown permission error.' );
722
- break ;
723
719
default :
724
720
_showCameraException (e);
725
721
break ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: A Flutter plugin for controlling the camera. Supports previewing
4
4
Dart.
5
5
repository : https://github.com/flutter/plugins/tree/main/packages/camera/camera
6
6
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
7
- version : 0.9.8+1
7
+ version : 0.10.0
8
8
9
9
environment :
10
10
sdk : " >=2.14.0 <3.0.0"
@@ -21,10 +21,10 @@ flutter:
21
21
default_package : camera_web
22
22
23
23
dependencies :
24
- camera_android : ^0.9.7+1
24
+ camera_android : ^0.10.0
25
25
camera_avfoundation : ^0.9.7+1
26
26
camera_platform_interface : ^2.2.0
27
- camera_web : ^0.2.1
27
+ camera_web : ^0.3.0
28
28
flutter :
29
29
sdk : flutter
30
30
flutter_plugin_android_lifecycle : ^2.0.2
You can’t perform that action at this time.
0 commit comments