camera_android_camerax 0.6.14+1
camera_android_camerax: ^0.6.14+1 copied to clipboard
Android implementation of the camera plugin using the CameraX library.
0.6.14+1 #
- Updates compileSdk 34 to flutter.compileSdkVersion.
0.6.14 #
- Fixes incorrect camera preview rotation.
0.6.13 #
- Adds API support query for image streaming.
0.6.12 #
- Suppresses deprecation and removal warnings for
TextureRegistry.SurfaceProducer.onSurfaceDestroyed. - Removes logic added to correct the rotation of the camera preview, since it is no longer required.
0.6.11 #
- Replaces deprecated Android embedder APIs (
onSurfaceCreated->onSurfaceAvailable). - Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
0.6.10+3 #
- Bumps com.google.guava:guava from 33.3.1-android to 33.4.0-android.
0.6.10+2 #
- Bumps camerax_version from 1.3.4 to 1.4.1.
0.6.10+1 #
- Removes nonnull annotation from MeteringPointHostApiImpl#getDefaultPointSize.
0.6.10 #
- Removes logic that explicitly removes
READ_EXTERNAL_STORAGEpermission that may be implied fromWRITE_EXTERNAL_STORAGEand updates the README to tell users how to manually remove it from their app's merged manifest if they wish.
0.6.9+2 #
- Updates Java compatibility version to 11.
0.6.9+1 #
- Bumps
com.google.guava:guavafrom33.3.0to33.3.1.
0.6.9 #
- Corrects assumption about automatic preview correction happening on API >= 29 to API > 29,
based on the fact that the
ImageReaderImpeller backend is not used for the most part on devices running API 29+.
0.6.8+3 #
- Removes dependency on org.jetbrains.kotlin:kotlin-bom.
- Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
0.6.8+2 #
- Marks uses of
Camera2Interopwith@OptInannotation.
0.6.8+1 #
- Re-lands support for Impeller.
0.6.8 #
- Updates Guava version to 33.3.0.
0.6.7+2 #
- Updates lint checks to ignore NewerVersionAvailable.
0.6.7+1 #
- Updates README to remove references to
maxVideoDuration, as it was never visible to app-facing clients, nor was it implemented incamera_android.
0.6.7 #
- Updates AGP version to 8.5.0.
0.6.6 #
- Adds logic to support building a camera preview with Android
Surfaces not backed by aSurfaceTextureto which CameraX cannot not automatically apply the transformation required to achieve the correct rotation. - Adds fix for incorrect camera preview rotation on naturally landscape-oriented devices.
- Updates example app's minimum supported SDK version to Flutter 3.22/Dart 3.4.
0.6.5+6 #
- Updates Guava version to 33.2.1.
- Updates CameraX version to 1.3.4.
0.6.5+5 #
- Reverts changes to support Impeller.
0.6.5+4 #
0.6.5+3 #
- Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
- Adds notes to
README.mdabout allowing image streaming in the background and the requiredWRITE_EXTERNAL_STORAGEpermission specified in the plugin to allow writing photos and videos to files.
0.6.5+2 #
- Update to latest stable camerax
1.3.3. - Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
0.6.5+1 #
- Updates
README.mdto reflect the fact that thecamera_android_cameraxcamera plugin implementation is the endorsed Android implementation forcamera: ^0.11.0.
0.6.5 #
- Modifies
stopVideoRecordingto ensure that the method only returns when CameraX reports that the recorded video finishes saving to a file. - Modifies
startVideoCapturingto ensure that the method only returns when CameraX reports that video recording has started. - Adds empty implementation for
setDescriptionWhileRecordingand leaves a todo to add this feature.
0.6.4+1 #
- Adds empty implementation for
prepareForVideoRecordingsince this optimization is not used on Android.
0.6.4 #
- Prevents usage of unsupported concurrent
UseCases based on the capabiliites of the camera device.
0.6.3 #
- Shortens default interval that internal Java
InstanceManageruses to release garbage collected weak references to native objects. - Dynamically shortens interval that internal Java
InstanceManageruses to release garbage collected weak references to native objects when anImageAnalysis.Analyzeris set/removed to account for increased memory usage of analyzing images that may cause a crash.
0.6.2 #
- Adds support to control video FPS and bitrate. See
CameraController.withSettings.
0.6.1+1 #
- Moves integration_test dependency to dev_dependencies.
0.6.1 #
- Modifies resolution selection logic to use an
AspectRatioStrategyfor all aspect ratios supported by CameraX. - Adds
ResolutionFilterto resolution selection logic to prioritize resolutions that match the definedResolutionPresets.
0.6.0+1 #
- Updates
README.mdto encourage developers to opt into this implementation of the camera plugin.
0.6.0 #
- Implements
setFocusMode, which makes this plugin reach feature parity with camera_android. - Fixes
setExposureCompensationIndexreturn value to use index returned by CameraX.
0.5.0+36 #
- Implements
setExposureMode.
0.5.0+35 #
- Modifies
CameraInitializedEventthat is sent when the camera is initialized to indicate that the initial focus and exposure modes are auto and that developers may set focus and exposure points.
0.5.0+34 #
- Implements
setFocusPoint,setExposurePoint, andsetExposureOffset.
0.5.0+33 #
- Fixes typo in
README.md. - Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
0.5.0+32 #
- Removes all remaining
unawaitedcalls to fix potential race conditions and updates the camera state when video capture starts.
0.5.0+31 #
- Wraps CameraX classes needed to set capture request options, which is needed to implement setting the exposure mode.
0.5.0+30 #
- Adds documentation to clarify how the plugin uses resolution presets as target resolutions for CameraX.
0.5.0+29 #
- Modifies
buildPreviewto returnTexturethat maps to camera preview, building in the assumption thatcreateCamerashould have been called before building the preview. Fixes https://github.com/flutter/flutter/issues/140567.
0.5.0+28 #
- Wraps CameraX classes needed to implement setting focus and exposure points and exposure offset.
- Updates compileSdk version to 34.
0.5.0+27 #
- Removes or updates any references to an
ActivityPluginBindingwhen the plugin is detached or attached/re-attached, respectively, to anActivity.
0.5.0+26 #
- Fixes new lint warnings.
0.5.0+25 #
- Implements
lockCaptureOrientationandunlockCaptureOrientation.
0.5.0+24 #
- Updates example app to use non-deprecated video_player method.
0.5.0+23 #
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Adds
CameraXProxyclass to testJavaObjectcreation and their method calls in the plugin.
0.5.0+22 #
- Fixes
_getResolutionSelectorFromPresetnull pointer error.
0.5.0+21 #
- Changes fallback resolution strategies for camera use cases to look for a higher resolution if neither the desired resolution nor any lower resolutions are available.
0.5.0+20 #
- Implements
setZoomLevel.
0.5.0+19 #
- Implements torch flash mode.
0.5.0+18 #
- Implements
startVideoCapturing.
0.5.0+17 #
- Implements resolution configuration for all camera use cases.
0.5.0+16 #
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
0.5.0+15 #
- Explicitly removes
READ_EXTERNAL_STORAGEpermission that may otherwise be implied fromWRITE_EXTERNAL_STORAGE.
0.5.0+14 #
- Wraps classes needed to implement resolution configuration for video recording.
0.5.0+13 #
- Migrates
styleFromusage in examples off of deprecatedprimaryandonPrimaryparameters.
0.5.0+12 #
- Wraps classes needed to implement resolution configuration for image capture, image analysis, and preview.
- Removes usages of deprecated APIs for resolution configuration.
- Bumps CameraX version to 1.3.0-beta01.
0.5.0+11 #
- Fixes issue with image data not being emitted after relistening to stream returned by
onStreamedFrameAvailable.
0.5.0+10 #
- Implements off, auto, and always flash mode configurations for image capture.
0.5.0+9 #
- Marks all Dart-wrapped Android native classes as
@immutable. - Updates
CONTRIBUTING.mdto note requirements of Dart-wrapped Android native classes.
0.5.0+8 #
- Fixes unawaited_futures violations.
0.5.0+7 #
- Updates Guava version to 32.0.1.
0.5.0+6 #
- Updates Guava version to 32.0.0.
0.5.0+5 #
- Updates
README.mdto fully cover unimplemented functionality.
0.5.0+4 #
- Removes obsolete null checks on non-nullable values.
0.5.0+3 #
- Fixes Java lints.
0.5.0+2 #
- Adds a dependency on kotlin-bom to align versions of Kotlin transitive dependencies.
- Removes note in
README.mdregarding duplicate Kotlin classes issue.
0.5.0+1 #
- Update
README.mdto include known duplicate Kotlin classes issue.
0.5.0 #
-
Initial release of this
cameraimplementation that supports:- Image capture
- Video recording
- Displaying a live camera preview
- Image streaming
See
README.mdfor more details on the limitations of this implementation.