[ 
https://issues.apache.org/jira/browse/CB-13988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406150#comment-16406150
 ] 

jcesarmobile commented on CB-13988:
-----------------------------------

Can you provide your code? the camera access should only be asked once.
When I try this, I get a message telling me that access to camera has been 
prohibited and offers me the options to go to settings app to change the 
permission or click ok. The ok just return to the app and call the error 
callback.

> Ios 11.2 request again permission is crashing
> ---------------------------------------------
>
>                 Key: CB-13988
>                 URL: https://issues.apache.org/jira/browse/CB-13988
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: 4.0.1
>            Reporter: Geoffrey MUSELLI
>            Priority: Major
>
> IMPORTANT: 4.0.2 is not available in choice. Affected version is not 4.0.1 
> but 4.0.2
> *Expected Behaviour*
>  If user request to use this feature again. Permission should be requested 
> again (and should work)
>  
> *Actual Behaviour*
>  When permission request is prompted (the second time) if user click on 
> "Accept" plugin crash with "has no access to camera"
> *Reproduce Scenario (including but not limited to)*
> *Steps to Reproduce*
>  Create a simple app with this plugin (ie: ionic app)
>  Launch it on ios 11.2 (reproduced on 6s, 6s+, 7 and X)
>  Launch plugin
>  Give permission
>  Close app
>  Go to settings
>  Change app permission for camera
>  Reopen app
>  Launch plugin
>  
> *Platform and Version (eg. Android 5.0 or iOS 9.2.1)*
>  ios 11.2
>  Plugin 4.0.2
>  
> *(Android) What device vendor (e.g. Samsung, HTC, Sony...)*
>  N/A
>  
> *Cordova CLI version and cordova platform version*
> @ionic/cli-utils : 1.19.1
>  ionic (Ionic CLI) : 3.19.1
> global packages:
> cordova (Cordova CLI) : 7.0.1
> local packages:
> @ionic/app-scripts : 3.1.2
>  Cordova Platforms : ios 4.5.1
>  Ionic Framework : ionic-angular 3.9.2
> System:
> ios-deploy : 1.9.2 
>  ios-sim : 6.0.0 
>  Node : v6.11.2
>  npm : 5.3.0 
>  OS : macOS High Sierra
>  Xcode : Xcode 9.2 Build version 9C40b
>  
> *Plugin version*
> 4.0.2
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to