- Fix a crash when failing to start preview.
- Save photo orientation data on iOS.
- Add access to the image stream from Dart.
- Use
cameraController.startImageStream(listener)to process the images.
- Fix issue with crash when the physical device's orientation is unknown.
- Update the camera to use the physical device's orientation instead of the UI orientation on Android.
- Fix preview and video size with satisfying conditions of multiple outputs.
- Unregister the activity lifecycle callbacks when disposing the camera.
- Added path_provider and video_player as dev dependencies because the example uses them.
- Updated example path_provider version to get Dart 2 support.
- iOS image capture is done in high quality (full camera size)
- Updated Gradle tooling to match Android Studio 3.1.2.
- Added support for video recording.
- Changed the example app to add video recording.
A lot of breaking changes in this version:
Getter changes:
- Removed
isStarted - Renamed
initializedtoisInitialized - Added
isRecordingVideo
Method changes:
- Renamed
capturetotakePicture - Removed
start(the preview starts automatically wheninitializeis called) - Added
startVideoRecording(String filePath) - Removed
stop(the preview stops automatically whendisposeis called) - Added
stopVideoRecording
- Fix Dart 2 runtime errors.
- Fix Dart 2 runtime error.
- Breaking change. Set SDK constraints to match the Flutter beta release.
- Revert regression of
CameraController.capture()introduced in v. 0.0.3.
- Improved resource cleanup on Android. Avoids crash on Activity restart.
- Made the Future returned by
CameraController.dispose()andCameraController.capture()actually complete on Android.
- Simplified and upgraded Android project template to Android SDK 27.
- Moved Android package to io.flutter.plugins.
- Fixed warnings from the Dart 2.0 analyzer.
- Initial release