-
Notifications
You must be signed in to change notification settings - Fork 673
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
Unsupported filter when passing "realm" as allowedExtensions #1375
Comments
This issue is stale because it has been open for 14 days with no activity. |
It's only been 8 days bot. |
This issue is stale because it has been open for 14 days with no activity. |
No stale |
This issue is stale because it has been open for 14 days with no activity. |
No stale |
This issue is stale because it has been open for 14 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Please reopen the issue. There's no point in adding stale to an issue when no one replied. |
I have the same problem with other custom extensions |
Describe the bug
Using the file_picker latest package as of today from pub.dev, when trying to provide a custom allowedExtensions throws a
PlatformException (PlatformException(FilePicker, Unsupported filter. Make sure that you are only using the extension without the dot, (ie., jpg instead of .jpg). This could also have happened because you are using an unsupported file extension. If the problem persists, you may want to consider using FileType.all instead., null, null))
Although I am not too sure if this is a bug. But I am using realm db by MongoDB in my app and wanted to pick a local saved realm db file to restore in my app. Having the file type set to custom throws the exception above. Using any filetypes works perfectly. So will these extension be supported by the plugin or is it something the platform cannot support ever?
Platform
Platform OS version
Android 13
How are you picking?
Details to reproduce the issue
Just replace the code above in your solution or fresh flutter project
Error Log
Screenshots and/or video
na
Flutter Version details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: