Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Barcode Scanning issue on native script 8 with native camera control #1886

Open
@rajeshjadidminc

Description

@rajeshjadidminc

I have integrated "@nativescript/firebase": "11.1.3" for barcoding scanning by taking the image from the gallery and its working fine in native script 7.
I have just migrated my project from 7 to 8, now it's giving me the error as below:

JS: Error in firebase.mlkit.scanBarcodesOnDevice: Error: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.atd.atdmobileapp. Make sure to call FirebaseApp.initializeApp(Context) first.
JS: ML Kit error: Error: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.atd.atdmobileapp. Make sure to call FirebaseApp.initializeApp(Context) first.

Please help me @hdeshev @acrollet @Lampei @rhrn i m stuck on this.

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