2.11.0 (2022-01-02)
π¦ΈββοΈ I'm back!
π Huge thanks to all my GitHub sponsors for making it possible for me to maintain VisionCamera in my free time. Thank you! π
VisionCamera 2.11.0 brings a ton of improvements around the build structure.
Highlights:
- Disable Frame Processors on Android if you don't use them! This makes the app build faster and strips all of the C++ code from your app!
- Reanimated is no longer a required dependency! If you don't have REA v2 installed, you can still use VisionCamera, but Frame Processors will be automatically disabled.
- Fixed a ton of build issues on React Native 0.65 and older! This makes it possible for Expo users to use VisionCamera.
- Migration to CameraX' latest Video Recorder API to ensure optimal performance and stability around the native Camera platform.
Full Changelog
π Documentation
- Update compileSdkVersion and targetSdkVersion (#585) (5bbe2bf)
- Update Zooming code link (#661) (c2ba4fb)
π Bug Fixes
- Fix
Frame.bytesPerRow
showing wrong values on iOS (#688) (e8a8e71) - Fix Android build on React Native 0.65 and older (#694) (77e065d)
- Fix extract tasks being added to clean tasks (#644) (04576db)
- Fix JNI crash in FrameHostObject dtor (#689) (4584d33)
- Make
videoCodec
clearly iOS only (dd7fc08) - Re-install FP plugins on bundle reload (#684) (b72176f)
- Re-install Frame Processor JSI Bindings after Reload (#691) (dcbbae5)