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

cordova-file unable to write in subdirectory on iOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-plugin-file

    Description

      Cordova file is unable to write into subdirectory.

      Same code works on Android.

      Steps:

      1. Create directory in some writeable location, eg:

      • android: window.cordova.file.externalDataDirectory
      • ios: window.cordova.file.tempDirectory
        2. Create empty file / write file into that directory

      -> Result:
      Android creates directory, creates file
      IOS creates directory, unable to create file. Error code is 5.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thecelavi Nikola Svitlica
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: