cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Kiran" <>
Subject File Transfer and File API || Inconsistencies b/w the documentation and javascript
Date Fri, 17 Oct 2014 11:03:27 GMT


                I am looking at the File Transfer and File API for upgrading
gwtphonegap to support the latest version of cordova.  During the process, I
found some inconsistencies between the documentation and the javascript
layer. Till now, my assumption is that the API documentation is for the
javascript layer and if there are any platform specific quriks, they are
noted seperately in the documentation but the API is consistent. So I was
not sure which is correct when I encountered the below inconsistencies.



The FileUploadOptions in the documentation doesn't have 'httpMethod'
parameter which is available in the javascript FileUploadOptions
constructor. There is 'chunkedMode' in the documentation but the same is not
available in the javascript layer.


Similarly the javascript layer doesn't have 'headers' which is documented in
the 'FileUploadResult'.


I thought the documentation is out of sync and the javascript is correct. If
that is correct, I will update the documentation and send a PR. 







  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message