Comments (4)
This should be reported here, this repo is for the new firebase plugin which does not contain mlkit but if you're in interested in using the new mlkit check it and lmk
from firebase.
No one answers into the other repo and here is Nativescript/firebase and i'm using @nativescript/firebase so i thought..
Im gonna try the one you sent the only thing is that there is no documentation about how to use it..
EDIT:
Okay i think i understood, i need to begin this mlkit-core and then install the ones i need, it may resolve my issue because i need to jump from one to another, didnt try yet, but the thing i can say is i can't import "DetectionEvent", it tells me that @nativescript/mlkit-core doesnt have any export of it
I just got this error @triniwiz
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Cannot find a version of 'io.github.triniwiz:fancycamera' that satisfies the version constraints:
Dependency path 'MyApp:app:unspecified' --> 'io.github.triniwiz:fancycamera:3.0.0-alpha23'
Dependency path 'MyApp:app:unspecified' --> 'io.github.triniwiz:fancycamera:3.0.0-alpha22'
Constraint path 'MyApp:app:unspecified' --> 'io.github.triniwiz:fancycamera:{strictly 3.0.0-alpha22}' because of the following reason: debugRuntimeClasspath uses version 3.0.0-alpha22
My package.json looks like this now
{
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"dependencies": {
"@angular/animations": "^12.2.5",
"@angular/common": "^12.2.5",
"@angular/compiler": "^12.2.5",
"@angular/core": "^12.2.5",
"@angular/forms": "^12.2.5",
"@angular/platform-browser": "^12.2.5",
"@angular/platform-browser-dynamic": "^12.2.5",
"@angular/router": "^12.2.5",
"@nativescript/angular": "^12.2.0",
"@nativescript/background-http": "~5.0.0",
"@nativescript/camera": "~5.0.0",
"@nativescript/core": "~8.1.1",
"@nativescript/datetimepicker": "^2.1.9",
"@nativescript/firebase": "^11.1.3",
"@nativescript/firebase-crashlytics": "^1.0.0-alpha.0",
"@nativescript/firebase-database": "^1.0.0",
"@nativescript/firebase-storage": "^1.0.0-alpha.0",
"@nativescript/geolocation": "~8.0.0",
"@nativescript/imagepicker": "~1.0.0",
"@nativescript/mlkit-barcode-scanning": "^1.0.0-alpha.0",
"@nativescript/mlkit-core": "^1.0.0-alpha.0",
"@nativescript/mlkit-face-detection": "^1.0.0-alpha.0",
"@nativescript/theme": "^3.0.1",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@nstudio/nativescript-camera-plus": "^4.1.0",
"@nstudio/nativescript-loading-indicator": "~4.0.0",
"@nstudio/nativescript-pulltorefresh": "~3.0.0",
"@nstudio/nativescript-snackbar": "~2.0.0",
"nativescript-imagecropper": "~4.0.0",
"nativescript-nfc": "~5.0.0",
"nativescript-permissions": "^1.3.8",
"nativescript-sound-kak": "^1.2.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-chart": "~9.0.0",
"nativescript-ui-sidedrawer": "~10.0.0",
"nativescript-webview-interface": "^1.4.2",
"rxjs": "^7.4.0",
"tns-platform-declarations": "^6.5.15",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-eslint/builder": "13.0.1",
"@angular-eslint/eslint-plugin": "13.0.1",
"@angular-eslint/eslint-plugin-template": "13.0.1",
"@angular-eslint/schematics": "13.0.1",
"@angular-eslint/template-parser": "13.0.1",
"@angular/compiler-cli": "^12.2.5",
"@nativescript/android": "8.1.1",
"@nativescript/schematics": "~0.5.0",
"@nativescript/types": "~8.1.0",
"@nativescript/webpack": "~5.0.0",
"@ngtools/webpack": "^12.2.5",
"@types/jasmine": "^3.5.11",
"@typescript-eslint/eslint-plugin": "5.3.0",
"@typescript-eslint/parser": "5.3.0",
"eslint": "^8.2.0",
"typescript": "~4.3.5"
},
"readme": "NativeScript Application",
"main": "./src/main.ts",
"scripts": {
"lint": "ng lint"
}
}
SOLUTION + OTHER ISSUE
I changed myself into the node_modules at @nstudio/nativescript-camera-plus from alpha22 to alpha23 but now i got this:
A problem occurred configuring project ':app'.
Could not HEAD 'https://jcenter.bintray.com/io/github/triniwiz/fancycamera/barcodeScanning/1.0.0-alpha0/barcodeScanning-1.0.0-alpha0.pom'. Received status code 502 from server: Bad Gateway
from firebase.
So the last update is:
A problem occurred configuring project ':app'.
Could not HEAD 'https://jcenter.bintray.com/io/github/triniwiz/fancycamera/barcodeScanning/1.0.0-alpha0/barcodeScanning-1.0.0-alpha0.pom'. Received status code 502 from server: Bad Gateway
I know that means bintray is down but its down almost every day.. i tried to add maven() didn't work.. Why are we keeping to use it if its deprecated and they are down all the time ?
EDIT:
It came back finally
from firebase.
Moved to NativeScript/mlkit#24
from firebase.
Related Issues (20)
- Android `showNotificationsWhenInForeground` not working
- Didn't find class "org.nativescript.plugins.firebase.MyFirebaseMessagingService" HOT 1
- Can't build on new xcode 14.3 HOT 5
- Can't build with xcode 14.2 no such module FirebaseMessaging HOT 7
- App crashes on (iOS) device after installing from TestFlight HOT 8
- Nativescript 7.0.0 failed to build plugin @nativescript/firebase HOT 1
- firebase().ui().show crashes on Android with Error: Cannot read properties of undefined (reading 'launch') HOT 1
- @nativescript/firebase-auth and @nativescript/firebase-ui are incompatible on iOS HOT 3
- 'No APNS token specified' error getting token on iOS HOT 20
- [Android] dlopen failed: library "libNativeScript.so" not found HOT 5
- Android warning on App Check HOT 1
- [iOS][auth] Firebase App Check support for Firebase Authentication (Update firebase authentication to >10.8.0)
- With FirebaseAppDelegateProxyEnabled = false, phone authentication hangs and then crashes HOT 1
- `const admin = require('firebase-admin')` crashes with `TypeError: Cannot read properties of undefined (reading 'env')` HOT 3
- Displaying alert after canceling from firebase().ui().show() causes exception HOT 2
- [firebase-crashlytics] Fatal errors aren't sent to Firebase console HOT 2
- [Firebase-storage][Android] Error: An unknown error occurred, please check the HTTP result code and inner exception for server response. HOT 1
- Migrating from legacy FCM APIs to HTTP v1 HOT 3
- [firebase-crashlytics AND firebase-messaging] iOS app crashes upon launch HOT 6
- Expost remove listeners for firebase messaging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase.