NativeScript / mlkit

Apache License 2.0
24 stars 9 forks source link

Android only: MLKit plugin breaks UI with "@nativescript/android": "8.1.1" #27

Closed cjohn001 closed 2 years ago

cjohn001 commented 2 years ago

I am observing an awkward behavior when I build my application with the mlkit plugin and

"@nativescript/android": "8.1.1"

The transition animations in the UI are broken than. See attached video:

https://user-images.githubusercontent.com/43253483/151705546-a8d2672c-5501-4ed2-a1a9-b0f7baadfee1.mov

The issue does not arise with the new Alpha version (alpha.9) of the runtime. However, would be great if one could get the plugin working with the current runtime as well.

My package.json:

    "dependencies": {
        "@angular/animations": "13.1.1",
        "@angular/common": "13.1.1",
        "@angular/compiler": "13.1.1",
        "@angular/core": "13.1.1",
        "@angular/forms": "13.1.1",
        "@angular/platform-browser": "13.1.1",
        "@angular/platform-browser-dynamic": "13.1.1",
        "@angular/router": "13.1.1",
        "@apollo/client": "3.4.16",
        "@nativescript-community/ui-material-tabs": "6.2.5",
        "@nativescript/angular": "13.0.0",
        "@nativescript/core": "8.1.5",
        "@nativescript/iqkeyboardmanager": "2.0.0",
        "@nativescript/localize": "5.0.4",
        "@nativescript/mlkit-barcode-scanning": "1.0.0-alpha.8",
        "@nativescript/mlkit-core": "1.0.0-alpha.8",
        "@nativescript/secure-storage": "3.0.0",
        "@nativescript/theme": "3.0.2",
        "@nativescript/ui-charts": "file:../mnd-custom-plugins/nativescript-ui-charts/publish/package/nativescript-ui-charts-0.1.10.tgz",
        "apollo-angular": "2.6.0",
        "apollo3-cache-persist": "0.13.0",
        "d3-ease": "3.0.1",
        "graphql": "15.6.1",
        "graphql-tag": "2.12.5",
        "intl": "1.2.5",
        "moment": "2.29.1",
        "nativescript-oauth2-ext": "file:../mnd-custom-plugins/nativescript-oauth2-ext/publish/package/nativescript-oauth2-ext-3.0.0.tgz",
        "nativescript-sqlite": "2.8.6",
        "nativescript-ui-autocomplete": "8.0.1",
        "nativescript-ui-calendar": "file:../mnd-custom-plugins/plugins-ui/dist/packages/ui-calendar/nativescript-ui-calendar-8.0.0.tgz",
        "nativescript-ui-gauge": "8.0.1",
        "reflect-metadata": "0.1.13",
        "rxjs": "7.4.0",
        "uuid": "8.3.2",
        "zone.js": "0.11.4"
    },
    "devDependencies": {
        "@angular-devkit/build-angular": "13.1.1",
        "@angular/compiler-cli": "13.1.1",
        "@graphql-codegen/cli": "2.2.2",
        "@graphql-codegen/fragment-matcher": "3.2.0",
        "@graphql-codegen/introspection": "2.1.0",
        "@graphql-codegen/typescript": "2.3.0",
        "@graphql-codegen/typescript-apollo-angular": "3.3.0",
        "@graphql-codegen/typescript-operations": "2.2.0",
        "@nativescript/android": "8.1.1",
        "@nativescript/ios": "8.1.0",
        "@nativescript/types": "8.1.1",
        "@nativescript/webpack": "5.0.4",
        "@ngtools/webpack": "13.1.1",
        "@types/d3-ease": "3.0.0",
        "@types/intl": "1.2.0",
        "@types/node": "16.11.6",
        "@types/uuid": "8.3.1",
        "codelyzer": "6.0.2",
        "keycloak-request-token": "0.1.0",
        "rimraf": "3.0.2",
        "sass": "1.43.4",
        "ts-node": "10.4.0",
        "tslint": "6.1.3",
        "typescript": "4.4.4"
    }
cjohn001 commented 2 years ago

I close this issue as with "@nativescript/android": "8.2.0" things work