Skip to content

iOS: Crash in use Camera #700

Open
Open
@shengliZh

Description

@shengliZh
                  <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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions