NativeScript / nativescript-camera

NativeScript plugin to empower using device camera.
Apache License 2.0
92 stars 47 forks source link

Android: Camera doesn't respond after taking Photo. #189

Closed Mubashir-Mohamed closed 5 years ago

Mubashir-Mohamed commented 5 years ago

Make sure to check the demo app(s) for sample usage

Yes I tried

Make sure to check the existing issues in this repository

No, I couldn't find any.

If the demo apps cannot help and there is no issue for your problem, tell us about it

After taking Photo and pressing the tick it takes time and a black screen appears before it come backs to our application. As it is taking time( not responding) ,in the older versions of Android , My app crashes.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

"dependencies": { "@angular/animations": "5.2.0", "@angular/common": "5.2.0", "@angular/compiler": "5.2.0", "@angular/core": "5.2.0", "@angular/forms": "5.2.0", "@angular/http": "5.2.0", "@angular/platform-browser": "5.2.0", "@angular/platform-browser-dynamic": "5.2.0", "@angular/router": "5.2.0", "clone-deep": "^4.0.0", "google-libphonenumber": "^3.0.8", "lodash": "^4.17.4", "moment": "^2.19.2", "nativescript-accordion": "^5.0.4", "nativescript-angular": "5.2.0", "nativescript-applozic-chat": "^1.2.4", "nativescript-appversion": "^1.4.1", "nativescript-background-http": "^3.1.0", "nativescript-bottom-navigation": "1.1.2", "nativescript-camera": "4.1.1", "nativescript-checkbox": "^3.0.3", "nativescript-custom-entitlements": "^0.2.0", "nativescript-email": "^1.5.1", "nativescript-exoplayer": "^3.3.2", "nativescript-fresco": "^3.0.2", "nativescript-imagepicker": "6.0.0", "nativescript-intl": "^3.0.0", "nativescript-iqkeyboardmanager": "^1.3.0", "nativescript-loading-indicator": "^2.4.0", "nativescript-localize": "^3.0.3", "nativescript-localstorage": "^1.1.2", "nativescript-mediafilepicker": "^1.0.4", "nativescript-phone": "^1.3.1", "nativescript-plugin-firebase": "^5.2.0", "nativescript-social-share": "^1.5.0", "nativescript-theme-core": "^1.0.4", "nativescript-ui-autocomplete": "^3.6.0", "nativescript-ui-listview": "^3.5.8", "nativescript-urlhandler": "^1.2.2", "nativescript-videorecorder": "^2.0.4", "reflect-metadata": "^0.1.8", "rxjs": "^5.4.0", "tns-core-modules": "^4.2.0", "zone.js": "^0.8.10" }, "devDependencies": { "@angular/compiler-cli": "~5.2.0", "@ngtools/webpack": "~1.9.4", "@types/node": "^7.0.5", "babel-traverse": "6.9.0", "babel-types": "6.10.0", "babylon": "6.8.1", "filewalker": "0.1.2", "lazy": "1.0.11", "clean-webpack-plugin": "~0.1.19", "codelyzer": "^4.2.1", "copy-webpack-plugin": "~4.3.0", "css-loader": "~0.28.7", "typescript": "~2.6.2", "extract-text-webpack-plugin": "~3.0.2", "nativescript-dev-typescript": "^0.3.1", "nativescript-dev-webpack": "^0.10.2", "nativescript-worker-loader": "~0.8.1", "tslint": "^4.5.1", "node-sass": "^4.7.1", "raw-loader": "~0.5.1", "resolve-url-loader": "~2.2.1", "sass-loader": "^6.0.6", "tns-platform-declarations": "4.0.0", "uglifyjs-webpack-plugin": "~1.1.6", "webpack": "~3.10.0", "webpack-bundle-analyzer": "^2.9.1", "webpack-sources": "~1.1.0" }

elena-p commented 5 years ago

Hi @Mubashir-Mohamed,

I was not able to reproduce the described behaviour in the demo projects in this repo. Do you observe the behaviour in any of the demo projects (demo, demo-angular or demo-vue)? If not, could you provide us with another sample project that we could you to reproduce the issue?

I notice that you use old version of tns-core-modules - could you update to 5.2 so that it corresponds to the runtimes and cli? Here you can check NativeScript upgrade instructions.

elena-p commented 5 years ago

closing due to inactivity