Open HulioEglesias opened 4 years ago
Make sure you enabled MLKit (ml_kit
property should be set to true in firebase.nativescript.json
). If Yes, then also ensure the POD is being installed - you may verify that by opening the compiled project in Xcode.
ml_kit
was false, but now I set it to true, then use commands tns platform remove ios
and tns platform add ios
.But I got same error. When I open project `platforms/ios', I see 2 folders - project name and pods
@manojdcoder So what wrong I do?
Why I got this error and how to fix it? Just now I create a project NS-vue from blank template. Install nativescript-plugin-firebase
npm i --save nativescript-plugin-firebase
. GotGoogleService-Info.plist
and put intoApp_Resources/iOS
. Add firebase.init() in app.js (and it's success) After that I try to usefirebase.mlkit.barcodescanning.scanBarcodesOnDevice
My plugins: And got error:ML Kit Error: Can't find variable: FIRVision
What's wrong?