Try setting the following options:
options = {
fileKey: 'file',
fileName: name,
chunkedMode: false,
mimeType: 'audio/3gpp',
httpMethod: 'PUT',
headers: {
'Content-Type': 'audio/3gpp'
},
encodeURI: false
}
Took a lot of painful hours, getting pre-signed PUT working with cordova / S3. Good luck.
source
share