mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 07:08:10 +08:00
[camerax] Publish plugin (#3896)
Publishes `camera_android_camerax` plugin as version 0.5.0. **Reminder to whoever lands this PR**: Ping @/stuartmorgan to manually change package owner after landing this.
This commit is contained in:
@ -1,27 +1,9 @@
|
||||
## NEXT
|
||||
## 0.5.0
|
||||
|
||||
* Updates minimum Flutter version to 3.3.
|
||||
* Creates camera_android_camerax plugin for development.
|
||||
* Adds CameraInfo class and removes unnecessary code from plugin.
|
||||
* Adds CameraSelector class.
|
||||
* Adds ProcessCameraProvider class.
|
||||
* Bump CameraX version to 1.3.0-alpha02.
|
||||
* Adds Camera and UseCase classes, along with methods for binding UseCases to a lifecycle with the ProcessCameraProvider.
|
||||
* Bump CameraX version to 1.3.0-alpha03 and Kotlin version to 1.8.0.
|
||||
* Changes instance manager to allow the separate creation of identical objects.
|
||||
* Adds Preview and Surface classes, along with other methods needed to implement camera preview.
|
||||
* Adds implementation of availableCameras().
|
||||
* Implements camera preview, createCamera, initializeCamera, onCameraError, onDeviceOrientationChanged, and onCameraInitialized.
|
||||
* Adds integration test to plugin.
|
||||
* Bump CameraX version to 1.3.0-alpha04.
|
||||
* Fixes instance manager hot restart behavior and fixes Java casting issue.
|
||||
* Implements image capture.
|
||||
* Fixes cast of CameraInfo to fix integration test failure.
|
||||
* Updates internal Java InstanceManager to only stop finalization callbacks when stopped.
|
||||
* Implements image streaming.
|
||||
* Provides LifecycleOwner implementation for Activities that use the plugin that do not implement it themselves.
|
||||
* Implements retrieval of camera information.
|
||||
* Updates README.md with plugin overview and adds contribution guide to CONTRIBUTING.md.
|
||||
* Implements video capture.
|
||||
* Implements onCameraClosing callback method for indicating the camera is closing and bumps CameraX version to 1.3.0-alpha05.
|
||||
* Initial release of this `camera` implementation that supports:
|
||||
* Image capture
|
||||
* Video recording
|
||||
* Displaying a live camera preview
|
||||
* Image streaming
|
||||
|
||||
See [`README.md`](README.md) for more details on the limitations of this implementation.
|
||||
|
@ -2,11 +2,12 @@ name: camera_android_camerax
|
||||
description: Android implementation of the camera plugin using the CameraX library.
|
||||
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
|
||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
|
||||
publish_to: 'none'
|
||||
|
||||
version: 0.5.0
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <4.0.0"
|
||||
flutter: ">=3.3.0"
|
||||
sdk: ">=2.19.0 <4.0.0"
|
||||
flutter: ">=3.7.0"
|
||||
|
||||
flutter:
|
||||
plugin:
|
||||
|
@ -6,5 +6,15 @@
|
||||
# updating multiple packages for a breaking change in a common dependency in
|
||||
# cases where using a relaxed version constraint isn't possible.
|
||||
|
||||
# An application cannot depend directly on multiple federated implementations
|
||||
# of the same plugin for the same platform, which means the app cannot
|
||||
# directly depend on both camera_android and camera_android_androidx.
|
||||
# Since camera_android is endorsed, it will be included transitively
|
||||
# already, so exclude it from the direct dependency list to allow including
|
||||
# camera_android_androidx to ensure that they don't conflict at build time
|
||||
# (if they did, it would be impossible to use camera_android_androidx while
|
||||
# camera_android is endorsed).
|
||||
- camera_android
|
||||
|
||||
# This is a permament entry, as it should never be a direct app dependency.
|
||||
- plugin_platform_interface
|
||||
|
Reference in New Issue
Block a user