[
https://issues.apache.org/jira/browse/CB-9790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959101#comment-14959101
]
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-148428651
Looks like `mimeType` default in JS will break the Windows case:
https://github.com/apache/cordova-plugin-file-transfer/blob/1142a96b2ce281fcc11b914dc21fac01eb446d9e/src/windows/FileTransferProxy.js#L109
So it is better to leave it as is probably at least for this PR.
> 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]