cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirill Anoshin (JIRA)" <>
Subject [jira] [Created] (CB-10384) Marshmallow always request permissions
Date Tue, 19 Jan 2016 13:06:39 GMT
Kirill Anoshin created CB-10384:

             Summary: Marshmallow always request permissions
                 Key: CB-10384
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File
    Affects Versions: 5.4.1
         Environment: Android 6.0, cordova-cli 5.4.1, cordova-plugin-file 4.1.0
            Reporter: Kirill Anoshin

Hi guys is there any sense in this code in
if(dirname.contains(cordova.getActivity().getPackageName()) ||
                            hasReadPermission()) {

dirname is always look like 'cdvfile://localhost...' this is why it never contains package
name. So marshmallow will always request permissions to write to the external storage.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message