flutter_file_picker
flutter_file_picker copied to clipboard
PlatformException on web
I'm using file_picker: ^5.3.3
Describe the bug When trying to call await FilePicker.platform.pickFiles() even with type: FileType.any , I get no trouble on dev with flutter, but when going live on production server , now I get PlatformException error only on WEB
my code is simple : try { result = await FilePicker.platform.pickFiles(type: FileType.any); } on PlatformException catch (e) { print('Unsupported operation' + e.toString()); } catch (e) { print(e.toString()); }
Error Log Platform._operatingSystem Nothing happens when trying to pick files works well on Android and IOS
anyone found this isse too ? thanks