cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-2826) iOS 6.1.2 & 6.1.3 input type="file" with
Date Thu, 28 Mar 2013 00:51:15 GMT


Shazron Abdullah commented on CB-2826:

We don't do anything special with input type='file' for videos and images, this is handled
directly by Apple's UIWebView code. If you want to post some runnable code that will be better
(or you can email me privately) so we can get to the bottom of this.

This could be something we automatically test in our mobile-spec for iOS (although its not
our code) - since I think in Android we do do something special for this:
> iOS 6.1.2 & 6.1.3 input type="file" with 
> -----------------------------------------
>                 Key: CB-2826
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0
>         Environment: PhoneGap Build compiled with Cordova 2.3.0 on iOS 6.1.2 and 6.1.3
>            Reporter: Joe Meeks
>            Assignee: Shazron Abdullah
>            Priority: Blocker
> My app is compiled with PhoneGap Build using Cordova 2.3.0. The following file input
html5 tag works fine for video and image uploads on iOS 6.0.1 in a PhoneGap web view. However
on iOS 6.1.2 and 6.1.3 after selecting a video a 0 byte video is uploaded in a PhoneGap web
view but video uploads work fine in Mobile Safari. It seems to me to be an issue with Cordova
handling videos on the latest iOS versions although images continue to work fine.
>  <input id="fiMedia" type="file" accept="image/*, video/*" multiple onchange="mediaUpload(this)"
> I am aware that the next update for PhoneGap Build will support Cordova 2.5.0 and thus
html5 file input tags for Android (which is fantastic) but might this recent iOS version bug
be addressed too? 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message