cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Bover (JIRA)" <>
Subject [jira] [Commented] (CB-12531) File not found when selecting from Google Drive folder
Date Tue, 07 Mar 2017 22:33:38 GMT


Pier Bover commented on CB-12531:

I solved it.

Instead of passing the File object to upload I used a FileReader and converted File to arrayBuffer.
I've pushed the solution to the github repo in case someone stumbles upon this.

> File not found when selecting from Google Drive folder
> ------------------------------------------------------
>                 Key: CB-12531
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 3.5.0
>         Environment: android
>            Reporter: Pier Bover
> In Android, when using an <input type="file"> and selecting a file from the Drive
folder, and then trying to upload it with JS, produces a file not found error.
> Here is a project using the Firebase SDK that reproduces the error and more detailed
description of the problem:
> At first I thought the problem was in the Firebase SDK, but I replaced it with Filestack
and the problem persists. Also the Firebase support team reproduced the error and in their
opinion it is a problem with the Cordova app.
> When trying to upload a file to a website like using Chrome it works fine so
it could be related to some obscure permissions.
> Hopefully someone here will be able to rule out if it's an Android bug or some limitation
of Cordova.

This message was sent by Atlassian JIRA

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

View raw message