openmobilehub / android-omh-storage

https://www.openmobilehub.org
Apache License 2.0
4 stars 1 forks source link

OMHD-422: Google Drive non-gms upload fix #39

Closed maciekBudzinski closed 3 months ago

maciekBudzinski commented 3 months ago

Summary

This PR fixes the upload for non-gms Google Drive plugin by changing the upload method from multipart to resumable. The multipart upload was causing an issues with larger files because it's suitable for maximum 5MB files. Read more: https://developers.google.com/drive/api/guides/manage-uploads

Demo

https://github.com/openmobilehub/android-omh-storage/assets/23010554/50143ce8-b086-4f1a-bfaa-4a3ade725372

Checklist:

Closes: OMHD-422