cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13988) Ios 11.2 request again permission is crashing
Date Tue, 20 Mar 2018 11:15:00 GMT

    [ 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message