Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Crash in use Camera #700

Open
shengliZh opened this issue Feb 21, 2025 · 0 comments
Open

iOS: Crash in use Camera #700

shengliZh opened this issue Feb 21, 2025 · 0 comments

Comments

@shengliZh
Copy link

shengliZh commented Feb 21, 2025

                  <Camera
                        style={styles.camera}
                        scanBarcode={true}
                        onReadCode={onBarCodeRead}
                        showFrame={true}
                        frameColor="green"
                    />

crash when call Camera。

android can call the Camera normally and scan the code. Only iOS would report an error like this

(NOBRIDGE) LOG Platform.OS: ios
(NOBRIDGE) LOG result: granted
(NOBRIDGE) ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCameraKitModule' could not be found. Verify that a module by this name is registered in the native binary. [Component Stack]
(NOBRIDGE) ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCameraKitModule' could not be found. Verify that a module by this name is registered in the native binary. [Component Stack]
(NOBRIDGE) ERROR Warning: TypeError: Cannot read property 'Camera' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant