cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11368) resolveLocalFileSystemURL cannot handle url returned by contacts plugin
Date Tue, 23 Aug 2016 07:25:21 GMT

    [ https://issues.apache.org/jira/browse/CB-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432290#comment-15432290
] 

ASF GitHub Bot commented on CB-11368:
-------------------------------------

Github user vladimir-kotikov commented on the issue:

    https://github.com/apache/cordova-plugin-file/pull/192
  
    LGTM


> resolveLocalFileSystemURL cannot handle url returned by contacts plugin
> -----------------------------------------------------------------------
>
>                 Key: CB-11368
>                 URL: https://issues.apache.org/jira/browse/CB-11368
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin File
>            Reporter: zhuisui
>              Labels: triaged
>
> navigator.contacts.pickContact returns photo url like {{content://com.android.contacts/contacts/1/photo}},
which cannot be resolved by resolveLocalFileSystemURL with {{FileError code: 1000}}. I inspect
code in the {{ContentFileSystem.java}}, and find the method {{resourceSizeForCursor}} cannot
return correct value. The problem is, that cursor doesn't have a column named _size. I have
given permission of File and Contacts.



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