ArthurHub / ArthurHub/Android-Image-Cropper

CSV, PDF, DOCX greyed out and not clickable

Open
#670 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I'm using version `com.theartofdev.edmodo:android-image-cropper:2.7.0`

Below code

```
private fun handleImageClick() {
if (CropImage.isExplicitCameraPermissionRequired(activity!!) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
requestPermissions(arrayOf(Manifest.permission.CAMERA), CropImage.CAMERA_CAPTURE_PERMISSIONS_REQUEST_CODE)
} else {
CropImage.startPickImageActivity(activity!!)
}
}
```
triggers the following screen:

![Select source](https://i.stack.imgur.com/L4Iu7.png)

When clicking "Bestanden" (Files), below screen is displayed:

![Select source](https://i.imgur.com/frtH7dr.jpg)

I want to be able to select PDF, CSV and DOCX as well, but it's greyed out. How can I make them selectable?

Please note:
- That with the other options like Dropbox, Drive, they are not greyed out.
- I'm not using the CropImage functionality to load the PDF, but another library. I just need a trigger in my onActivityResult.

Tested on: Android 8.0, Samsung S8

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.