4

i using extention file_picker in flutter width extention filter

try {
      result = await FilePicker.platform.pickFiles(
        type: FileType.custom,
        allowedExtensions: ['jpeg', 'jpg', 'heic', 'pdf'],
      );
    } catch (e) {
      print('fileSelector ****${e}***');
    }

but in Android i can select all files width any extension. In IOS work this filter fine. Is it a bug in file_picker or do I have to do something additional?

Jury Dpling
  • 685
  • 5
  • 10

0 Answers0