1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

iOS: Fixes #6375: iOS and Dropbox synchronisation not working on iOS 15

This commit is contained in:
Laurent Cozic 2022-04-15 12:03:48 +01:00
parent 671077e1bb
commit 818ad62fbe

View File

@ -124,8 +124,15 @@ class FileApiDriverDropbox {
if (!options.responseFormat) options.responseFormat = 'text';
try {
// IMPORTANT:
//
// We cannot use POST here, because iOS (as of version 14?) doesn't
// support POST requests with an empty body:
//
// https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-1017-quot-cannot-parse-response-quot/td-p/589595
const response = await this.api().exec(
'POST',
'GET',
'files/download',
null,
{