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-11699) FileReader.READ_CHUNK_SIZE is not working with Base64 conversion
Date Sat, 03 Sep 2016 09:46:20 GMT

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

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

Github user Samaludheen commented on the issue:

    https://github.com/apache/cordova-plugin-file/pull/191
  
    can we expect a fix for this soon?


> FileReader.READ_CHUNK_SIZE is not working with Base64 conversion
> ----------------------------------------------------------------
>
>                 Key: CB-11699
>                 URL: https://issues.apache.org/jira/browse/CB-11699
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Plugin File
>    Affects Versions: 4.2.0
>         Environment: Bug in JavaScript so all platforms will be affected
>            Reporter: Tony Leung
>            Assignee: Vladimir Kotikov
>              Labels: reproduced, triaged
>
> CB-7862 - the fix for reading files in chunks defined the chunk size as follow:
> FileReader.READ_CHUNK_SIZE = 256*1024;
> I found a bug on iOS that readAsDataURL in CDVFile.m, converting it to Base64 will not
work because the chunk size 262144 is not dividable by 3.
> The quick fix will be FileReader.READ_CHUNK_SIZE = (256*1024) - 1



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