Skip to content

Error with com.google.zxing.BarcodeFormat in React Native 0.76.5 #31

@tomriddle537

Description

@tomriddle537

Im geting this error in react native 0.76.5

My code....

            const code = await CodeGenerator.generate({
                type: CodeGenerator.Type.Code128,
                code: "123456789"
            });

Error: Exception in HostObject::get for prop 'RNCodeGeneratorModule': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: Unable to parse @ReactMethod annotation from native module method: RNCodeGeneratorModule.generateBarcode(). Details: Unable to parse JNI signature. Detected unsupported parameter class: com.google.zxing.BarcodeFormat [Component Stack]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions