Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[camera]bump default camera_web package version
Browse files Browse the repository at this point in the history
  • Loading branch information
hellohuanlin committed May 31, 2022
1 parent 4cf7437 commit 6d0772b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/camera/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
showInSnackBar('Audio access is restricted.');
break;
case 'cameraPermission':
// Android & web only
// Android only
showInSnackBar('Unknown permission error.');
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d0772b

Please sign in to comment.