Closed michaelsmedley closed 3 years ago
OK, the issue is down to me not re-installing properly after updating my firebase.nativescript.json file.
I basically removed the plugin and this file, re-added the plugin and went through the installation steps and the plugin is working perfectly now, so going to close this issue.
Thanks again
Hi
I'm having trouble integrating the ML Kit Barcode reader into an app within a NativeScript-Vue app, the app is crashing with the above error message.
When I launch a page with the
MLKitBarcodeScanner
component, the app is crashing with an stack trace similar to the following:This is happening when running the app through XCode 12.4, connected to a real device after doing a
tns build ios
. For reference, this is happening when using nativescript-plugin-firebase@10.6.3 and tns-ios@6.5.2.There's nothing particularly out-the-ordinary with the code:
main.js:
QrScanner.vue
Hopefully this is enough to help debug the issue. Of course if there's anything else I can provide to help then I will be more then happy to.
Any help will be much appreciated. Thanks all!
EDIT: If it helps this is my firebase.nativescript.json file:
Camera permissions are granted for the app as well. I can also supply the whole stack trace if it will help