Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing storage access to USB device and later connecting a different USB device doesn't allow access to that device and doesn't prompt for access either #53

Open
7 tasks done
luewolf opened this issue Feb 4, 2024 · 1 comment
Labels
bug Something is not working

Comments

@luewolf
Copy link

luewolf commented Feb 4, 2024

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.0.0

Affected Android/Custom ROM version

Android 13

How did you install the app?

F-Droid

Steps to reproduce the bug

  1. Connect a USB device to your phone via the USB-C port.
  2. In the app, navigate to the root folder of the USB device. File manager will prompt you for storage access rights for that directory.
  3. Grant the access rights.
  4. Disconnect the USB device.
  5. Connect a different USB device and navigate to its root folder.
  6. File manager will display an empty directory, despite the USB device containing files. This is not an issue with the USB device. Android's default file manager manages to correctly display the files. Also, I was able to reproduce this with the order of USB devices reversed. The one for which the permission was granted continues to work, while the other one is always displayed as empty.

Expected behavior

Either display the contents of the USB device correctly, or recognize that permissions are missing and request them.

Actual behavior

The USB device for which the access rights were granted will have its contents displayed, while other devices appear as empty and do not prompt for access permissions.

Screenshots/Screen recordings

No response

Additional information

@luewolf luewolf added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Feb 4, 2024
@Aga-C Aga-C removed the needs triage Issue is not yet ready for PR authors to take up label Feb 4, 2024
@ghost
Copy link

ghost commented Feb 10, 2024

Exactly same issue on android 8.1, it just shows blank folder in USB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants