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

How to add fields to file list request #88

Closed lykfe closed 1 year ago

lykfe commented 1 year ago

https://developers.google.com/drive/api/guides/fields-parameter

I'm trying to do something like files.list(fields='files(id,capabilities,canAddChildren)')

Is this supported? If it is, can you provide a simple example that I can work with?

Thanks

RobinBobin commented 1 year ago

Have a look at Files.list() in the readme.

lykfe commented 1 year ago

Thanks I figured it out, would highly appreciate if you can update the document to include an example of using field.

RobinBobin commented 1 year ago

Glad you have it sorted. Ok, I'll try :slightly_smiling_face: .