react-native-vision-camera
react-native-vision-camera copied to clipboard
fix: Move `Frame` into VisionCamera `Core` (and change namespace)
What
Android
Moves Frame into the VisionCamera Core namespace and rewrites it to a Kotlin class.
⚠️ This might be a breaking change for Frame Processor Plugins, this is what they need to change:
- import com.mrousavy.camera.frameprocessors.Frame;
+ import com.mrousavy.camera.core.Frame;
iOS
Moves Frame into the VisionCamera Core subspec, and rewrites it to a Swift class.
This simplifies a few occasions where CMSampleBuffer was used in addition to orientation and isMirrored props, and also makes it a bit more efficient as it is now a Swift class instead of an NSObject.
Changes
Tested on
Related issues
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| react-native-vision-camera | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2024 5:57pm |