You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utilize the native file picker (com.android.documentsui):
Describe alternatives you've considered
Unfortunately, the ability to access such virtual directories cannot be implemented by 3rd-party applications, if zhanghai/MaterialFiles#1215 (comment) applies to all virtual folders (rather than merely system-provided, sensitive ones, like Bug Reports).
Additional context
The text was updated successfully, but these errors were encountered:
RokeJulianLockhart
changed the title
Utilize com.android.documentsui as file picker
Utilize com.android.documentsui as file picker.
Jul 24, 2024
@RokeJulianLockhart ok thanks for clarifying. Unfortunately for the local repo location, that won't be possible because JGit, the underlying git library used in MGit requires actual file handles to the selected repo directory, which is not available by using the Intent based file chooser API that you referenced, as that will only return a uri for the selected file or directory tree.
Is your feature request related to a problem?
Currently, it's custom:
This prevents it accessing https://developer.android.com/training/data-storage/shared/documents-files, whereas utilizing the native FP would.
Describe the solution you'd like
Utilize the native file picker (
com.android.documentsui
):Describe alternatives you've considered
Unfortunately, the ability to access such virtual directories cannot be implemented by 3rd-party applications, if zhanghai/MaterialFiles#1215 (comment) applies to all virtual folders (rather than merely system-provided, sensitive ones, like Bug Reports).
Additional context
The text was updated successfully, but these errors were encountered: