cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LightZam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12355) iOS file get a null type when using fileEntry.file(function(file) {})
Date Tue, 17 Jan 2017 10:05:26 GMT

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

LightZam updated CB-12355:
--------------------------
    Description: 
resolveLocalFileSystemURL(path, function(fileEntry) {
    fileEntry.file(function(file) {
                    console.log(file.name, file.type);
                });
            }, reject);


The type will be null in iOS because it wasn't implemented.

  was:
resolveLocalFileSystemURL(path, function(fileEntry) {
    fileEntry.file(function(file) {
                    console.log({
                        name: file.name,
                        type: file.type'
                    });
                });
            }, reject);


The type will be null in iOS because it wasn't implemented.


> iOS file get a null type when using fileEntry.file(function(file) {})
> ---------------------------------------------------------------------
>
>                 Key: CB-12355
>                 URL: https://issues.apache.org/jira/browse/CB-12355
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 6.2.0
>            Reporter: LightZam
>            Assignee: LightZam
>
> resolveLocalFileSystemURL(path, function(fileEntry) {
>     fileEntry.file(function(file) {
>                     console.log(file.name, file.type);
>                 });
>             }, reject);
> The type will be null in iOS because it wasn't implemented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message