Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions packages/camera/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.8.1+1

* Migrate maven repository from jcenter to mavenCentral.

## 0.8.1

* Solved a rotation issue on iOS which caused the default preview to be displayed as landscape right instead of portrait.
Expand All @@ -15,7 +19,7 @@

## 0.7.0+3

* Clockwise rotation of focus point in android
* Clockwise rotation of focus point in android

## 0.7.0+2

Expand Down Expand Up @@ -117,7 +121,7 @@ As part of implementing federated architecture and making the interface compatib

Method changes in `CameraController`:
- The `takePicture` method no longer accepts the `path` parameter, but instead returns the captured image as an instance of the `XFile` class;
- The `startVideoRecording` method no longer accepts the `filePath`. Instead the recorded video is now returned as a `XFile` instance when the `stopVideoRecording` method completes;
- The `startVideoRecording` method no longer accepts the `filePath`. Instead the recorded video is now returned as a `XFile` instance when the `stopVideoRecording` method completes;
- The `stopVideoRecording` method now returns the captured video when it completes;
- Added the `buildPreview` method which is now used to implement the CameraPreview widget.

Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"]
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -16,7 +16,7 @@ buildscript {
rootProject.allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
7 changes: 2 additions & 5 deletions packages/camera/camera/example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -12,10 +12,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://google.bintray.com/exoplayer/'
}
mavenCentral()
}
}

Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: camera
description: A Flutter plugin for getting information about and controlling the
camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video,
and streaming image buffers to dart.
version: 0.8.1
version: 0.8.1+1
homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera

dependencies:
Expand All @@ -23,7 +23,7 @@ dev_dependencies:

# TODO(mvanbeusekom): Update to stable 5.0.0 release when dependency conflict
# with flutter_driver has been resolved:
# Because mockito >=5.0.0 depends on analyzer ^1.0.0 which depends on crypto ^3.0.0
# Because mockito >=5.0.0 depends on analyzer ^1.0.0 which depends on crypto ^3.0.0
# every version of flutter_driver from sdk depends on crypto 2.1.5.
mockito: ^5.0.0-nullsafety.7
plugin_platform_interface: ^2.0.0
Expand Down