Marc Rousavy
Marc Rousavy
If not, this might be an Apple bug: https://forums.developer.apple.com/forums/thread/717565
> but not sure why its happening in the first place Me neither. > Adding `qualityPrioritization: 'speed'` to options while taking a picture fixes it. great! Maybe this will be...
Yea I mean `frame` should be intended to be either passed to native or access it in JS - it's completely fine to access anything in JS there. Please create...
From the stacktrace it looks like `frame.isValid` is calling `_frame.getIsValid()` on the native C++ side, and the internal `_frame` is `null`...
Does it work if you disable proguard?
This is really weird, as I never assign `this->frame` to `nullptr` and never pass a `nullptr` `frame` to the ctor.
Only situation where I do this is in the JS destructor: https://github.com/mrousavy/react-native-vision-camera/blob/f4617a3918783ff188c8b63f0694b1ad94ce3fae/package/android/src/main/cpp/frameprocessor/FrameHostObject.cpp#L24-L30 But I doubt that the JS destructor is called when you actually still have a reference in JS...
Hey! Closing as I think this has been recently fixed. Let me know if you still encounter this issue in 3.7.1
Yea good point. I think those should be the options: - `"portrait"` | `"portraitUpsideDown"`: Locked at portrait orientation. - `"landscapeLeft"` | `"landscapeRight"`: Locked at landscape orientation. - `"device"`: Use phone...
No, a recording is started at a specific orientation and will always stay at that orientation. Orientation in a recording is just an EXIF flag. it has a fixed width/height.