ReactImageView: Image source "null" doesn't exist
I am using react-native-camera-kit package in my project for barcode scanning. I am getting error ReactImageView: Image source "null" doesn't exist and I am not able to scan any qr code or barcode . Please suggest how to fix it.
Same issue
same issue
I am able to scan the barcode but I also got a warning of the Image source is null
same issue
I had same issue on iPhone 15. AVCaptureStillImageOutput in CKCamera.m failed to write buffer. I can offer solution if people have similar setting as mine.
having the same issue.
ReactImageView: Image source "null" doesn't exist warning is thrown when app starts, but the camera actually works and scans qrs okay.
I think AVCaptureStillImageOutput buffer can't handle write from the new hardware. Try this branch, I switched AVCaptureStillImageOutput to AVCapturePhotoOutput.
https://github.com/gianisalive/react-native-camera-kit-patch
To switch just add line below to package.json, and reinstall node modules.
"react-native-camera-kit": "github:gianisalive/react-native-camera-kit-patch#main"
If it works well for other people, I might consider making a pull request.
I think
AVCaptureStillImageOutputbuffer can't handle write from the new hardware. Try this branch, I switchedAVCaptureStillImageOutputtoAVCapturePhotoOutput. https://github.com/gianisalive/react-native-camera-kit-patchTo switch just add line below to package.json, and reinstall node modules.
"react-native-camera-kit": "github:gianisalive/react-native-camera-kit-patch#main"If it works well for other people, I might consider making a pull request.
Still getting the same issue...😢
any update on this issue?
You might need to specify this with the uri field: <Image source={{uri: imageUrl}} />
i use Camera instead of CameraScreen, annoying warning goes away. Just style it like View component