Apache Cordova
  1. Apache Cordova
  2. CB-1219

iOS 6 - FileReader not triggering onloadend function

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.0, 2.0.0
    • Fix Version/s: Master
    • Component/s: iOS
    • Labels:

      Description

      On iOS 5.x the following code works as expected. Testing on iOS 6 beta 4 it appears that the callback is not called at all. This may also affect other callbacks in FileReader.

      var reader = new FileReader();
      reader.onloadend = function(evt)

      { console.log('This is never called'); }

      ;
      reader.readAsText(obj);

      Other research into this yields http://apache.markmail.org/thread/e4dhnq5qkn6ypprf which claims 5 of 95 tests in the File API fail on iOS 6 - though I have not verified this myself.

        Activity

        Ben Longden created issue -
        Ben Longden made changes -
        Field Original Value New Value
        Summary FileReader not triggering onloadend function in PhoneGap on iOS 6 iOS 6 - FileReader not triggering onloadend function in PhoneGap
        Ben Longden made changes -
        Summary iOS 6 - FileReader not triggering onloadend function in PhoneGap iOS 6 - FileReader not triggering onloadend function
        Andrew Grieve made changes -
        Assignee Shazron Abdullah [ shazron ] Andrew Grieve [ agrieve ]
        Shazron Abdullah made changes -
        Assignee Andrew Grieve [ agrieve ] Michal Mocny [ mmocny ]
        Michal Mocny made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s Master [ 12320062 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Michal Mocny
            Reporter:
            Ben Longden
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development