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

Is there any way to get date of the uploaded file? #99

Closed inthisar-hamza closed 7 months ago

inthisar-hamza commented 7 months ago

Everthings works well, but there is no way to find the date of updated or uploaded files, Date required in most of the usecases to let the user's know last updated date time, is there are possible way to implement it? or through another API call or something?

I found that there is getMetadata method, but am I need to get https://www.googleapis.com/auth/drive.metadata.readonly permission for that?

thanks for the work anyway!

RobinBobin commented 7 months ago

Hi, Please, have a look at the google drive api docs. My library is just a wrapper around it.