diff --git a/packages/camera/camera/CHANGELOG.md b/packages/camera/camera/CHANGELOG.md index 72af38a9f9de..4d4ccf6013b9 100644 --- a/packages/camera/camera/CHANGELOG.md +++ b/packages/camera/camera/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.10.0 + +* Bumps default camera_web package version to 0.3.0. + ## 0.9.7+1 * Moves streaming implementation to the platform interface package. diff --git a/packages/camera/camera/README.md b/packages/camera/camera/README.md index ec9d7379c60b..cc35d4a76597 100644 --- a/packages/camera/camera/README.md +++ b/packages/camera/camera/README.md @@ -98,7 +98,7 @@ Here is a list of all permission error codes that can be thrown: - `AudioAccessRestricted`: iOS only for now. Thrown when audio access is restricted and users cannot grant permission (parental control). -- `cameraPermission`: Android and Web only. A legacy error code for all kinds of camera permission errors. +- `cameraPermission`: Android only. A legacy error code for all kinds of camera permission errors. ### Example diff --git a/packages/camera/camera/example/lib/main.dart b/packages/camera/camera/example/lib/main.dart index c0181a5d36a1..a73c11934a7b 100644 --- a/packages/camera/camera/example/lib/main.dart +++ b/packages/camera/camera/example/lib/main.dart @@ -709,7 +709,7 @@ class _CameraExampleHomeState extends State showInSnackBar('Audio access is restricted.'); break; case 'cameraPermission': - // Android & web only + // Android only showInSnackBar('Unknown permission error.'); break; default: diff --git a/packages/camera/camera/pubspec.yaml b/packages/camera/camera/pubspec.yaml index d1f70d906626..4b499bad7bfa 100644 --- a/packages/camera/camera/pubspec.yaml +++ b/packages/camera/camera/pubspec.yaml @@ -23,7 +23,7 @@ flutter: dependencies: camera_platform_interface: ^2.2.0 - camera_web: ^0.2.1 + camera_web: ^0.3.0 flutter: sdk: flutter flutter_plugin_android_lifecycle: ^2.0.2