Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Fixes #10681: Fix Dropbox sync for certain device languages #10759

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Jul 17, 2024

Summary

This pull request should fix #10681 by patching rn-fetch-blob. Previously, rn-fetch-blob used the user-set locale to lower-case strings, including all headers sent with HTTP requests. This caused issues with the Turkish language, where the lower case form of I is not i.

Notes:

Testing plan

On Android 13:

  1. Set the device language to Turkish (Türkçe).
  2. Re-authenticate to Dropbox.
  3. Sync.
  4. Verify that sync completes successfully.
  5. Add a drawing to a note.
  6. Sync.
  7. Verify that sync completes successfully.

@personalizedrefrigerator personalizedrefrigerator changed the title Mobile: Fixes #10681: Fix sync errors when the device locale is Turkish Android: Fixes #10681: Fix Dropbox sync for certain device languages Jul 17, 2024
@@ -0,0 +1,115 @@
diff --git a/android/src/main/java/com/RNFetchBlob/RNFetchBlobConfig.java b/android/src/main/java/com/RNFetchBlob/RNFetchBlobConfig.java
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! Could you please add a comment at the top explaining what the patch is for? I think you can add comments by prefixing them with #

@laurent22 laurent22 merged commit 8ff13e5 into laurent22:dev Jul 18, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android 14 tab jopplin app not sync via dropbox
2 participants