You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Geoffrey MUSELLI (JIRA)" <ji...@apache.org> on 2018/03/19 17:36:00 UTC

[jira] [Updated] (CB-13988) Ios 11.2 request again permission is crashing

     [ https://issues.apache.org/jira/browse/CB-13988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey MUSELLI updated CB-13988:
----------------------------------
    Description: 
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

 

  was:
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

 


> 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