[
https://issues.apache.org/jira/browse/CB-9790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959069#comment-14959069
]
ASF GitHub Bot commented on CB-9790:
------------------------------------
Github user daserge commented on the pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/98#issuecomment-148422624
@jason-ong, thanks!
I've looked into the PR once more - I believe it will be better to default
these values on JS side:
https://github.com/apache/cordova-plugin-file-transfer/blob/1142a96b2ce281fcc11b914dc21fac01eb446d9e/www/FileTransfer.js#L122-L123
We could also default `fileKey` to `'file'` and `chunkedMode` to `true`.
What do you think?
> Align FileUploadOptions fileName and mimeType default parameter values to the
> docs on iOS
> -----------------------------------------------------------------------------------------
>
> Key: CB-9790
> URL: https://issues.apache.org/jira/browse/CB-9790
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer
> Reporter: Sergey Shakhnazarov
> Priority: Trivial
>
> To match the FileUpload documentation for IOS,
> change fileName default value to "image.jpg"
> change mimeType default value to "image/jpg".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]