File tree 3 files changed +10
-3
lines changed 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.6.3+3
2
+
3
+ * Updated dependency on camera_platform_interface to ^1.2.0.
4
+
1
5
## 0.6.3+2
2
6
3
7
* Fixes crash on Android which occurs after video recording has stopped just before taking a picture.
Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ description: A Flutter plugin for getting information about and controlling the
6
6
7
7
8
8
9
- version : 0.6.3+2
9
+ version : 0.6.3+3
10
10
homepage : https://github.com/flutter/plugins/tree/master/packages/camera/camera
11
11
dependencies :
12
12
flutter :
13
13
sdk : flutter
14
14
15
+
15
16
# TODO(BeMacized): Replace with reference to pub.dev version once updated platform interface has been published.
16
17
camera_platform_interface :
17
18
git :
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ get mockAvailableCameras => [
27
27
28
28
get mockInitializeCamera => 13 ;
29
29
30
+
30
31
get mockOnCameraInitializedEvent => CameraInitializedEvent (
31
32
13 ,
32
33
75 ,
@@ -580,7 +581,7 @@ void main() {
580
581
verify (CameraPlatform .instance
581
582
.setFlashMode (cameraController.cameraId, FlashMode .always))
582
583
.called (1 );
583
- });
584
+ });
584
585
585
586
test ('setFlashMode() throws $CameraException on $PlatformException ' ,
586
587
() async {
@@ -1040,7 +1041,8 @@ class MockCameraPlatform extends Mock
1040
1041
: Future .value (mockTakePicture);
1041
1042
1042
1043
@override
1043
- Future <XFile > startVideoRecording (int cameraId) =>
1044
+ Future <XFile > startVideoRecording (int cameraId,
1045
+ {Duration maxVideoDuration}) =>
1044
1046
Future .value (mockVideoRecordingXFile);
1045
1047
}
1046
1048
You can’t perform that action at this time.
0 commit comments