Giter Club home page Giter Club logo

Comments (4)

triniwiz avatar triniwiz commented on June 14, 2024

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.

kriefsacha avatar kriefsacha commented on June 14, 2024

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.

kriefsacha avatar kriefsacha commented on June 14, 2024

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.

kriefsacha avatar kriefsacha commented on June 14, 2024

Moved to NativeScript/mlkit#24

from firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.