googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
636 stars 410 forks source link

Files uploaded to trashed folder #66

Open NLLAPPS opened 6 years ago

NLLAPPS commented 6 years ago

There seems to be a big delay synchronizing file actions.

Create a folder with your app Upload a file to your folder with your app Go to Google Drive web and trash the folder. Wait 1-2 minutes and try to upload another file in to your folder. API accepts and uploads it and puts it in the to the folder in the trash. I tried excluding deleted folder. Even though I used searchFilter.add(Filters.eq(SearchableField.TRASHED, false)); in my search query, API returnred the folder marked as metadata.isTrashed()== false

asrivas commented 6 years ago

Are you still experiencing this issue?

NLLAPPS commented 6 years ago

Yes. There seems to be other issues with new connectionless API too. Most important one ( https://github.com/gsuitedevs/android-samples/issues/68 )seems to happen with paid accounts where space is 1TB+ and user has ovr 15GB data,