nativescript-plugin-firebase icon indicating copy to clipboard operation
nativescript-plugin-firebase copied to clipboard

Barcode Scanning issue on native script 8 with native camera control

Open rajeshjadidminc opened this issue 2 years ago • 0 comments

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.

rajeshjadidminc avatar Dec 19 '22 05:12 rajeshjadidminc