Prerequisites
Reproduction
https://github.com/rudolfmedula/react-native-vision-camera/pull/1/changes
Steps to reproduce
on Android Samsung Galaxy Z Flip7 F766B
- run sample app with changes from the linked repro repo
What did you expect to happen?
resizer.resize(frame) returns resized frame
What actually happened?
Resizer crashes with Failed to allocate Vulkan memory for the imported AHardwareBuffer image. (VkResult -13).', {}
Affected platforms
Android (device)
Device(s) affected
Samsung Galaxy Z Flip7 F766B
VisionCamera version
5.0.4
React Native version
0.84.0
React Native architecture
New Architecture (Fabric / bridgeless)
Features being used
Relevant logs / stack trace
2026-04-30 11:39:38.719 991-20949 [[@]]CameraProperty ven...re.camera.provider-service_64 I [setImageSize:828] CaptureSize[0] : 4080 3060
2026-04-30 11:39:38.719 991-20949 [[@]]CameraProperty ven...re.camera.provider-service_64 I [setImageSize:839] MaxCaptureSize[0] : 4080 3060
2026-04-30 11:39:38.719 991-20949 [[@]]CameraProperty ven...re.camera.provider-service_64 I [setImageSize:828] CaptureSize[1] : 4000 3000
2026-04-30 11:39:38.719 991-20949 [[@]]CameraProperty ven...re.camera.provider-service_64 I [setImageSize:839] MaxCaptureSize[1] : 4080 3060
2026-04-30 11:39:39.302 20739-20832 ReactNativeJS com...o.nitro.camera.example.simple E 'Resizer.resize(...): Failed to allocate Vulkan memory for the imported AHardwareBuffer image. (VkResult -13).', {}
Additional context
No response
Submission
Prerequisites
Reproduction
https://github.com/rudolfmedula/react-native-vision-camera/pull/1/changes
Steps to reproduce
on Android Samsung Galaxy Z Flip7 F766B
What did you expect to happen?
resizer.resize(frame) returns resized frame
What actually happened?
Resizer crashes with Failed to allocate Vulkan memory for the imported AHardwareBuffer image. (VkResult -13).', {}
Affected platforms
Android (device)
Device(s) affected
Samsung Galaxy Z Flip7 F766B
VisionCamera version
5.0.4
React Native version
0.84.0
React Native architecture
New Architecture (Fabric / bridgeless)
Features being used
Relevant logs / stack trace
Additional context
No response
Submission