Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12531

File not found when selecting from Google Drive folder

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.2
    • Fix Version/s: None
    • Component/s: cordova-plugin-file
    • Labels:
      None
    • Environment:

      android

      Description

      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:
      https://github.com/PierBover/firebase-upload-cordova

      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 imgur.com 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pierbover Pier Bover
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: