jaiselrahman / FilePicker

FilePicker library for Android
Apache License 2.0
238 stars 70 forks source link

Not all file is showing for a custom extention #89

Open ChadiGSfeir opened 3 years ago

ChadiGSfeir commented 3 years ago

Describe the bug I'm creating a file with .abc extension the file picker only return one file with the .abc, knowing that i have more then 8 file with .abc in Documents folder.

To Reproduce File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS);

            Intent intent = new Intent(MyActivity.this, FilePickerActivity.class);
            intent.putExtra(FilePickerActivity.CONFIGS, new Configurations.Builder()
                    .setCheckPermission(true)
                    .setShowFiles(true)
                    .setShowAudios(false)
                    .setShowImages(false)
                    .setShowAudios(false)
                    .setMaxSelection(1)
                    .setSuffixes("abc")
                    .setRootPath(folder.getAbsolutePath())
                    .setSkipZeroSizeFiles(true)
                    .build());

Expected behavior I expect to see all my .abc files

Android info (please complete the following information):

Additional context Add any other context about the problem here.

adilomatom commented 2 years ago

Although i updated implementation 'com.github.jaiselrahman:FilePicker:1.3.2' to implementation 'com.github.jaiselrahman:FilePicker:1.4.0-beta01'

but I cannot b able to access the media file i.e Images or Videos in Android 11 anyone Solve plz healp