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

FileTransfer gzipped content is not unzipped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0
    • cordova-android
    • Android 2.3, tested on a Samsung Galaxy S

    Description

      When downloading a gzipped file via FileTransfer.download from a remote URL the file is not unzipped on the local filesystem.
      The file is saved in gzipped form, inclusion as javascript or css fails. Auto unzipping works on Android 4+.

      Downgrading to Cordova 2.6 solves the issue, seems to be a bug in OkHttp.

      Attachments

        Activity

          People

            iclelland Ian Clelland
            florian.falkner Florian Falkner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: