Skip to content

Commit 74fd685

Browse files
BeMacizedMinyewoo
authored andcommitted
Change platform interface dependency (flutter#3377)
1 parent 6f5109c commit 74fd685

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

packages/camera/camera/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.3+4
2+
3+
* Revert previous dependency update: Changed dependency on camera_platform_interface to >=1.04 <1.1.0.
4+
15
## 0.6.3+3
26

37
* Updated dependency on camera_platform_interface to ^1.2.0.

packages/camera/camera/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ description: A Flutter plugin for getting information about and controlling the
66

77

88

9-
version: 0.6.3+3
9+
version: 0.6.3+4
1010
homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera
1111
dependencies:
1212
flutter:
1313
sdk: flutter
1414

1515

16+
1617
#TODO(BeMacized): Replace with reference to pub.dev version once updated platform interface has been published.
1718
camera_platform_interface:
1819
git:

packages/camera/camera/test/camera_test.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ get mockAvailableCameras => [
2828
get mockInitializeCamera => 13;
2929

3030

31+
32+
3133
get mockOnCameraInitializedEvent => CameraInitializedEvent(
3234
13,
3335
75,
@@ -1041,8 +1043,7 @@ class MockCameraPlatform extends Mock
10411043
: Future.value(mockTakePicture);
10421044

10431045
@override
1044-
Future<XFile> startVideoRecording(int cameraId,
1045-
{Duration maxVideoDuration}) =>
1046+
Future<XFile> startVideoRecording(int cameraId) =>
10461047
Future.value(mockVideoRecordingXFile);
10471048
}
10481049

0 commit comments

Comments
 (0)