nativescript-barcodescanner
nativescript-barcodescanner copied to clipboard
Incompatability with nativescript-plugin-firebase
- Blank project
- tns platform add android
- tns plugin add nativescript-barcodescanner
- tns plugin add nativescript-plugin-firebase
{
"using_ios": true,
"using_android": true,
"analytics": true,
"firestore": true,
"realtimedb": false,
"authentication": true,
"remote_config": true,
"performance_monitoring": true,
"external_push_client_only": false,
"messaging": true,
"in_app_messaging": true,
"crashlytics": true,
"storage": true,
"functions": true,
"facebook_auth": true,
"google_auth": true,
"admob": false,
"dynamic_links": true,
"ml_kit": false
}
- tns build android

Similar to https://github.com/EddyVerbruggen/nativescript-barcodescanner/issues/131
I'm only trying to use them together because I can't get MLKit iOS working on firebase. But now this breaks Android
+1 I use firebase for auth and firestore and just wanted to add a QR-Scanner. I see exactly the same issue.
So I added the following line to app.gradle in App/App_Ressources/Android, haven't tested if the scanner works though, but is compiles.
configurations.all { exclude group: 'com.google.zxing' }
See 5. on https://8squarelab.co/8square-public/EremitSampleApplication/tree/7bfeea5fbcd1a32961425cf763cba5ef386eeaaf