PDF is not showing In Android Q and Android R
Blank page is coming even though storage permission are granted:
private void openPDFChooser() {
Intent intent = new Intent(context, FilePickerActivity.class);
intent.putExtra(FilePickerActivity.CONFIGS, new Configurations.Builder()
.setCheckPermission(true)
.setShowImages(false)
.enableImageCapture(false)
.setShowFiles(true)
.setMaxSelection(1)
.setSkipZeroSizeFiles(true)
.build());
startActivityForResult(intent, 123);
}
Library version:` implementation 'com.github.jaiselrahman:FilePicker:1.3.2'`
Getting same issue. Even i have added android:requestLegacyExternalStorage="true" in manifest.
Library version: 'implementation 'com.github.jaiselrahman:FilePicker:1.3.2'
PDF work with me ,
- i can pick
- but i can not get path of file
With Android 10 and higher, added more restriction.
PDF work with me ,
- i can pick
- but i can not get path of file
With Android 10 and higher, added more restriction.
Same here. Do you find any solution?
this is still not working on 10, anyone find out reason?
.setSuffix("pdf") worked for me in android 10 with implementation 'com.github.jaiselrahman:FilePicker:1.4.0-beta01'