Skip to content

google-gms plugin listFiles() listed deleted folder #110

Description

@TranceLove

Checklist

  • I've checked the issues list and there's no issue created for this behavior
  • I'm not asking for help in this section. Use our discussions section for that

Describe the bug
Folder deleted with OmhStorageClient.deleteFile() still returned from OmhStorageClient.listFiles()

To Reproduce
Steps to reproduce the behavior:

  1. Create a folder on Google Drive
  2. Delete the folder created in 1 with OmhStorageClient.deleteFile()
  3. Folder deleted in 2 still returned with OmhStorageClient.listFiles(), but had been in the trash bin on Google Drive from web browser

Expected behavior
The deleted folder should not be returned if the folder had been marked trashed

Smartphone (please complete the following information):

  • Device: Pixel 7 emulator
  • OS: Android 14
  • android-omh-storage version 2.0.6-alpha

Additional context
Not sure if I need to use OmhStorageClient.permanentlyDeleteFile() directly instead...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions