-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Not close camera after denied permissions #440
Comments
I have the same problem. Version @ionic-native/camera: ^4.20.0, @ionic/cli-utils : 1.19.2 |
There are newer Cordova iOS versions than both of you are using, 5.0.1 is the current version. Does this problem also appear in this iOS 12 optimized version? |
Thank you for your response, to upgrade to higher version I will need more time of other plugins and dependencies. Is there an alternative? |
You could create a quick new project with If it also happens with the current version, we have a proper bug (and you can jsut put this reproduction app on GitHub for us to look at and fix it). If it does not happen in this app, we know that it is a bug that already has been fixed and can try to help you get a workaround in your existing app. Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. |
I have the same issue and i have the latest plugin version 4.0.3 |
Tested the new cordova iOS version 5.0.1 but not luck. |
Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md Without that we can't do anything @wnabil |
Bug Report
Problem
The first time camera is opened, the plugin open a popover to ask user if he want to accept the permission. In case you denied this permission, the camera is still opened and the user can take a black photo
What is expected to happen?
When the user denied the permission, the camera must close.
What does actually happen?
When the user denied the permission, the camera is still opened.
Information
Version information
Version @ionic-native/camera: ^4.20.0,
Version cordova-plugin-camera": ^4.0.3
iOS device: 12.1.2
ionic (Ionic CLI) : 4.6.0
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4, ios 4.5.5
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v6.10.3
npm : 6.1.0
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
Checklist
The text was updated successfully, but these errors were encountered: