You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dylan van der Merwe (JIRA)" <ji...@apache.org> on 2016/07/19 17:18:20 UTC

[jira] [Commented] (CB-11199) Plugin File: FileReader readAsDataURL does not work with JPG on Android 4.4.2

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

Dylan van der Merwe commented on CB-11199:
------------------------------------------

This is a pretty serious issue. For any file larger than 256k the readAsDataURL method will not work!

Has anyone been assigned to this?

Has also been discussed here:
http://stackoverflow.com/questions/38405259/how-to-read-valid-base64-file-in-android-cordova/38458398#38458398

> Plugin File: FileReader readAsDataURL does not work with JPG on Android 4.4.2
> -----------------------------------------------------------------------------
>
>                 Key: CB-11199
>                 URL: https://issues.apache.org/jira/browse/CB-11199
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 4.2.0
>         Environment: Android 4.4.2
>            Reporter: Caner Patır
>              Labels: Android, triaged, wfc
>
> FileReader readAsDataURL method encodes invalid base64 data for a jpeg image. I could not decode the generate base64 data. But iI tried the same situation on version 4.1.1 it works successfully. 



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