my_filter_camera 3.0.0
my_filter_camera: ^3.0.0 copied to clipboard
This package lets you use the camera with advanced digital filters, apply real-time effects, and customize your camera experience easily.
Changelog #
3.0.0 #
- Add hardware zoom metadata and
setZoomLevel()on Android and iOS. - Keep preview, filtered JPEG capture, and filter-processed video on the same zoomed field of view.
- Clamp zoom requests to the active camera's supported range and expose the applied zoom through
zoomLevelState. - Add normalized focus and exposure points, center reset, capability metadata, and optional tap-to-focus.
- Add optional pinch-to-zoom gestures without changing the default PlatformView interaction behavior.
- Add typed exposure ranges,
setExposureOffset(), andexposureOffsetState; retainadjustBrightness()as a deprecated compatibility API. - Add
CameraVideoQualitypreferences with native Android/iOS fallback when a requested quality is unavailable. - Add
CameraRecordingStateso applications can reliably render starting, recording, paused, and stopping controls. - Merge iOS pause/resume segments without re-encoding to avoid physical-device
Operation Stoppedfailures.
2.1.0 #
- Apply the selected filter, contrast, gamma, and RGB adjustments to recorded MP4 video on Android and iOS.
- Add a CameraX Media3 real-time shader pipeline for filtered Android preview/video output.
- Replace the unfiltered iOS movie output with a Core Image and AVAssetWriter segment recorder.
- Preserve optional microphone audio and pause/resume behavior for filtered recordings.
- Add native encoder and Android shader-coverage tests.
2.0.1 #
- Reduce the published archive size by replacing the two large documentation GIFs with animated WebP files.
- Add pinned GitHub Actions jobs for Dart, Android, iOS, CocoaPods, Swift Package Manager, and iOS platform-channel integration validation.
- Include the example Gradle wrapper so Android validation also works from a clean checkout.
- Keep Bluetooth microphone routing compatible with both Xcode 16 and the renamed iOS 26 SDK API.
- Select only an iPhone runtime for automated iOS tests on multi-platform macOS runners.
- Validate that pubspec, podspec, and changelog release versions stay synchronized.
2.0.0 #
- Require Flutter 3.47.1, Dart 3.13.1, Android API 24, iOS 15, and Java 17.
- Add a native iOS implementation using AVFoundation and Core Image.
- Add filtered iOS preview/capture, exposure, torch, front/back camera switching, video recording, pause/resume segment merging, and optional microphone audio.
- Add iOS camera/microphone permission handling, app-private media cleanup, a privacy manifest, UIKit PlatformView registration, CocoaPods, and Swift Package Manager support.
- Upgrade to CameraX 1.6.1, Android Gradle Plugin 9.1.1, Gradle 9.3.1, Kotlin 2.4.0, and
flutter_lints6. - Replace deprecated RenderScript YUV conversion and CameraX target-resolution APIs.
- Remove GPUImage's unused, unaligned legacy YUV JNI binary for Android 16 KB page-size compatibility.
- Remove obsolete Android read/write storage permissions.
- Fix camera permission callback bookkeeping and Activity attach/detach cleanup.
- Bind
VideoCaptureto CameraX and ensure start, pause, resume, stop, and failure paths always complete their Dart futures. - Add optional audio recording with runtime microphone permission.
- Use unique app-private video filenames and propagate capture/video errors.
- Add typed torch/running state,
setTorch, contrast, gamma, RGB, and face event handling toCameraViewController. - Fix
CameraViewlifecycle observer cleanup, hidden-state handling, controller replacement,onDetect, fitting, and startup error UI. - Make native number/map parsing tolerant of Android integer and floating-point values.
- Replace commented template tests with Dart, widget, Android unit, and Android integration tests.
- Add migration, security, operations, and complete usage documentation.
1.0.4+1 #
- Last 1.x release.
1.0.3 #
- Change
start()camera function to use one camera session. - Update package information.
1.0.2 #
- Update package information.
1.0.1 #
- Remove the incomplete iOS implementation.
1.0.0 #
- Initial camera functions: brightness, camera switching, filters, and image capture.