RobinBobin / react-native-google-drive-api-wrapper

This wrapper facilitates the use of the Google Drive API in React Native projects.
110 stars 43 forks source link

Updating the content of the file #38

Closed cstehreem closed 3 years ago

cstehreem commented 3 years ago

Is there a way to update the content of already uploaded file rather than just metadata?

The official documentation for update says it can be used to update a file's metadata OR content, I was wondering if we have the option to add content in the update using this wrapper?

Thanks

RobinBobin commented 3 years ago

It looks like Files.update() currently updates only the metadata. I'll gladly merge your PR if you decide to add the missing functionality.

RobinBobin commented 3 years ago

I'm looking into retrofitting this module, and I'll try to add the functionality you need.

RobinBobin commented 3 years ago

The functionality is added, finishing the docs.

RobinBobin commented 3 years ago

Please have a look at v2 of this module. You can't manage permissions with it yet, but it will come very soon.