Josue Lopes
Josue Lopes
> Reproduz no Android 10, mesmo usando o seguinte desmontagem > ` > try { > > ``` > unsubscribe("testTopic"); > > mqttClient.unregisterResources(); > > mqttClient.close(); > > mqttClient.disconnect(); >...
> set MediaType(image,png) in http.MultipartFile > http.MultipartFile('file', stream, length, filename: path.basename(file.path), contentType: MediaType(mimeTypeData[0], mimeTypeData[1])) > > doesnot work. > > It seems to set something like " res.fields['Content-Type'] = 'image/png';...
I managed to solve this question, I uploaded the answer here: - [Change Content-Type from binary/octet-stream to image/jpeg #27](https://github.com/furaiev/amazon-cognito-identity-dart-2/issues/27)