Release 3.5.0
3.5.0 (2023-10-19)
Two breaking changes:
- VisionCamera 3.5.0 changes the way Frame Processor Plugins are registered - they now should be registered in the
FrameProcessorPluginRegistryfrom within astaticblock on Android, and theVISION_EXPORT_FRAME_PROCESSOR_PLUGINmacro on iOS. See the docs for more information. (The old way will still work, but the new way is more stable) - VisionCamera 3.5.0 also changes the way Frame Processor Plugins are loaded/initialized. Instead of
VisionCameraProxy.getFrameProcessorPlugin(..), you should now useVisionCameraProxy.initFrameProcessorPlugin(..). (The old way will still work, but will be removed in the next version)
✨ Features
- Make Frame Processors work on API <29 (#2041) (217461f)
- Reintroduce Macros for Frame Processor Plugin registration (#2027) (a291642)
- Rename
getFrameProcessorPlugintoinitFrameProcessorPlugin(#2038) (07027d8)
🐛 Bug Fixes
- Add
getFrameProcessorPluginfor backwards compatibility (#2040) (da25aa1) - Fix
torchnot working on iOS (#2031) (89dfd35) - Fix build on Xcode 14 (#2033) (2666ac5)
- Initialize Plugins in a
staticblock of ReactPackage (#2039) (3929c0a) - Remove unneeded
kotlin-android-extensionsdependency (#2034) (9573ae1)