flutter_file_picker icon indicating copy to clipboard operation
flutter_file_picker copied to clipboard

PlatformException on web

Open Mobiwoom opened this issue 1 year ago • 18 comments

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

Mobiwoom avatar Aug 07 '23 09:08 Mobiwoom