Description
Describe the bug
The existing example app using React Native 0.76.0 works correctly with both New Architecture enabled and disabled. However, after upgrading to React Native 0.80.0, the camera preview no longer appears when the New Architecture is enabled.
With New Architecture disabled, everything works as expected.
With New Architecture enabled, the camera preview is blank, but QR code scanning still functions — indicating the camera is active but the preview is not being rendered.
To Reproduce
Steps to reproduce the behavior:
- Clone example app
- Upgrade react-native to 0.80.0
- Remove
ENV['RCT_NEW_ARCH_ENABLED'] = '0';
from Podfile - Run the app
Expected behavior
The camera preview should be visible when the New Architecture is enabled, just as it is in React Native 0.76.0.
Screenshots
In the below screen recording you can see that the QR code is being detected
(-----DETECTED!!!!!!!!!!!!!!!!!!!!!----) text in the screen
camera-kit.mov
Desktop (please complete the following information):
- OS: macOS
Smartphone (please complete the following information):
- Device: iPhone 13 Pro
- OS: iOS 18.5
Additional context
rawatnaresh/react-native-camera-kit@master...rawatnaresh:react-native-camera-kit:rn-80-new-arch