2.4.2-beta.0 (2021-06-27)
The first beta for Frame Processors for Android! There are quite a few changes and I'd love to receive some feedback on how it works out for you. Check out the documentation: "Creating Frame Processor Plugins for Android"
🔨 Changes
- BREAKING CHANGE: Remove
supportsPhotoAndVideoCapture
in favor ofsupportsParallelVideoProcessing
prop (See ThesupportsParallelVideoProcessing
prop) (#196) (87e6bb7) - Distribute the android library as a prebuilt
.aar
file (#196) (87e6bb7) - Automatically enable
video
on iOS if aframeProcessor
is set instead of throwing an Error (#196) (87e6bb7)
✨ Features
- Frame Processors for Android (#196) (87e6bb7)
- Automatically fall back to snapshot capture when the Camera cannot attach the photo-use-case (#196) (87e6bb7)
- Add flash for snapshot capture (#196) (87e6bb7)
- Add
device/parallel-video-processing-not-supported
error (#196) (87e6bb7)
🐛 Bug Fixes
- Fix hard-crashing the app if any errors are thrown while configuring the Android session (throw in JS instead) (#196) (87e6bb7)
📚 Documentation
- Add documentation for Creating Frame Processors for Android (#196) (87e6bb7)
- Add documentation for the new
supportsParallelVideoProcessing
prop (#196) (87e6bb7) - Update the Java types for Frame Processor Plugins (#196) (87e6bb7)
- Create an Example FP Plugin instead of the empty-promise QR code scanner (#196) (87e6bb7)