Skip to content

Commit d455548

Browse files
committed
- Added FileBrowser.DrivesRefreshInterval to refresh the list of drives at a regular interval so that USB drives can be detected at runtime. By default, this value is 5 seconds on standalone platforms and no refresh will be performed on mobile platforms
- Renamed "Pick Folder" to "Browse..." on Android 10+ (Storage Access Framework)
1 parent 1b007a2 commit d455548

File tree

3 files changed

+214
-112
lines changed

3 files changed

+214
-112
lines changed

.github/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If your project uses ProGuard, try adding the following line to ProGuard filters
4242

4343
- **File browser doesn't show any files on Android 10+**
4444

45-
File browser uses *Storage Access Framework* on these Android versions and users must first click the *Pick Folder* button in the quick links section
45+
File browser uses *Storage Access Framework* on these Android versions and users must first click the *Browse...* button in the quick links section
4646

4747
- **RequestPermission returns Permission.Denied on Android**
4848

@@ -116,6 +116,8 @@ public static bool SetDefaultFilter( string defaultFilter );
116116

117117
To open files or directories in the file browser with a single click (instead of double clicking), you can set **FileBrowser.SingleClickMode** to *true*.
118118

119+
File browser refreshes the list of drives at a regular interval to detect the insertion/removal of USB drives. This interval can be changed via **FileBrowser.DrivesRefreshInterval**. If its value is less than 0, list of drives won't be refreshed. By default, this value is 5 seconds on standalone platforms and -1 on mobile platforms.
120+
119121
On Android, file browser requires external storage access to function properly. You can use the following function to check if we have runtime permission to access the external storage:
120122

121123
```csharp

0 commit comments

Comments
 (0)