EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase

Home Page:https://firebase.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barcode Scanning issue on native script 8 with native camera control

rajeshjadidminc opened this issue · 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.