multicamera 1.13.1
multicamera: ^1.13.1 copied to clipboard
A Flutter plugin for managing multiple camera instances simultaneously with built-in recognition support.
1.13.1 #
- (Android) Recover the camera preview when the capture session fails to configure, by falling back to a resolution the display can show, instead of leaving the preview black
- (Android) Capture images at the largest supported JPEG resolution that matches the preview aspect ratio, instead of a preview resolution the camera may reject
- (Android) Fix a crash when a camera is closed while a recognition frame or a capture is still in flight
- (Android) Deliver recognition results as soon as the device produces them, instead of holding each frame for a fixed delay, and report results even when one recognizer fails
- (Android) Reopen the camera after a device error or disconnection instead of leaving the preview black, and only once per failure
- (Android) Fix camera updates being sent to Flutter after the plugin is detached from the engine
1.13.0 #
- Breaking: Require Flutter 3.47.0+ / Dart 3.13.0+
- Breaking: (iOS) Raise minimum platform version to 15.0
- (iOS) Fix a crash when a camera is disposed while a frame is in flight, caused by frames being delivered to a texture that has already been unregistered
- (iOS) Recover the camera preview after a capture session interruption or runtime error instead of leaving it black
- (iOS) Return
nullfromCamera.captureImageafter five seconds when no frame arrives, instead of never completing - (iOS) Recognize text on a dedicated queue from the camera's pixel buffer, removing an image conversion per recognition and replacing the fixed recognition interval with one recognition at a time, so results arrive as fast as the device can produce them
- Fix
Camera.initializenever completing when camera registration fails, which left every later call awaiting it forever - Fix camera property updates being silently dropped after a failed initialization
1.12.1 #
- (iOS) Resolve the preview orientation from the application window scene, fixing a sideways camera feed while the device is screen-mirrored
1.12.0 #
- Breaking:
Camera.sizeis now nullable, and returnsnulluntil the preview size is known - (iOS) Apply the camera orientation to the first frame, removing the jump when a camera is first opened
- (iOS) Use an injected simulator camera when one is present, and fall back to the placeholder when the device cannot be opened
- (Android) Bind a 1x1 pbuffer instead of
EGL_NO_SURFACEfor offscreen work, which fixes a crash on the Android emulator
1.11.0 #
- Add a
playSoundoption toCamera.captureImageto play the system shutter sound when capturing
1.10.0 #
- (iOS) Render a debug placeholder frame on the simulator, which has no camera hardware, instead of attempting to open the camera stream
1.9.0 #
- (iOS) Use camera output metadata for barcode and face detection for improved efficiency
- (Android) Use camera stream configuration maps to scale recognition coordinates when available
1.8.0 #
- (iOS) Replace Google MLKit with Apple's on-device Vision framework for text recognition, barcode scanning, and face detection, removing all third-party ML dependencies
- (iOS) Add Swift Package Manager support
- (iOS) Lower minimum platform version to 13.0
1.7.0 #
- Add
mirroroption toCamera.captureImageto horizontally flip the captured image for front-facing person photos
1.6.0 #
- Require Flutter 3.44.0+ / Dart 3.12.0+
- (Android) Migrate to built-in Kotlin: Android Gradle Plugin 9, Gradle 9.1, Kotlin 2.3.20, Java 17
- Update dependencies
1.5.1 #
- (Android) Use activity display rotation for preview orientation when available
1.5.0 #
- Reset registry on hot restart
1.4.2 #
- (Android) Fix preview rotation on portrait-locked devices
1.4.1 #
- (Android) Handle camera open race conditions on synchronous failure and close
1.4.0 #
- Require Flutter 3.41.0+ / Dart 3.11.0+
- Fix race where camera direction/state changes during initialization were dropped
1.3.12 #
- (Android) Reopen errored camera handles
1.3.11 #
- Add optional
immediateflag tocaptureImageto skip exposure levelling - (Android) Correct matrix calculation for previews
- (Android) Increase minimum API level to 26
- (Android) Update dependencies
1.3.10 #
- (Android) Catch and ignore exceptions when running image recognition
1.3.9 #
- (Android) Initialize EGL synchronously to prevent race conditions on slower devices
- (Android) Handle errors when creating EGL surfaces
1.3.8 #
- (iOS) Prevent disposing already disposed flutter textures from backgrounding
1.3.7 #
- (Android) Lower
minSdkto 21
1.3.6 #
- (Android) Wait for exposure to level before capturing
- (Android) Add EXIF rotation data to captures
- (iOS) Close camera handle outputs immediately
1.3.5 #
- (iOS) Fallback if multicamera sessions are not supported
1.3.4 #
- (Android) Handle exceptions when opening camera handle device
1.3.3 #
- (iOS) Adjust session management to prevent dangling devices
- (iOS) Wait for exposure to stabilize before capturing images
1.3.2 #
- (Android) Adjust image acquire technique to avoid warnings
1.3.1+1 #
- Adjust file structure to hide internal dart files
1.3.1 #
- (iOS) Lower minimum platform version to 15.5
1.3.0 #
- (Dart) Add dartdocs to public API
- Improve code readability
1.2.1 #
- (Android) Fix immediate capture not returning image
1.2.0 #
- Stop camera session when paused to turn off system camera indicator
- (Android) Fix recognition pipeline getting blocked when no callbacks setup
1.1.0 #
- Adjust file structure to avoid importing source files: use
import 'package:multicamera/multicamera.dart'; - Allow setting camera callbacks to null
1.0.0 #
Initial release! 🎉