cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-13989) Ios 11.2 cancel library fail with error "has no access to assets" instead of
Date Tue, 20 Mar 2018 11:20:00 GMT

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

jcesarmobile closed CB-13989.
-----------------------------
    Resolution: Won't Fix

The plugin shows "has no access to assets" because it doesn't have access to assets, we can't
know for sure if the user canceled when prompted or if changed it afterwards in the settings
app, so we won't change it to "user canceled".

If you don't want to display that error message, you can check the error message and if it's
"has no access to assets", then replace it with your own message.

> Ios 11.2 cancel library fail with error "has no access to assets" instead of 
> -----------------------------------------------------------------------------
>
>                 Key: CB-13989
>                 URL: https://issues.apache.org/jira/browse/CB-13989
>             Project: Apache Cordova
>          Issue Type: Bug
>            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 cancel library, error returns should be something like: "user cancelled"
>  
> *Actual Behaviour*
> If user cancel library, error returns is: "has no access to assets" instead of "user
cancelled"
> *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