android-image-picker icon indicating copy to clipboard operation
android-image-picker copied to clipboard

result code is -1

Open fahimehrahemi opened this issue 5 years ago • 3 comments

Hi, I use the ImagePicker as follows: ImagePicker.create(this) .folderMode(true) // set folder mode (false by default) .toolbarFolderTitle("ssss") // folder selection title .toolbarImageTitle("dddd") // image selection title .toolbarArrowColor( getResources().getColor(R.color.colorWhite)) // Toolbar 'up' arrow color .includeVideo(true) .toolbarDoneButtonText("done") // done button text .theme(R.style.ImagePickerTheme) .start(0);

But after choosing images and pressing done button, in onActivityResult, the result code is -1. What am I doing wrong?

fahimehrahemi avatar Dec 30 '18 19:12 fahimehrahemi

Im not really sure, will check on it

esafirm avatar Feb 25 '19 03:02 esafirm

Hey @esafirm I am facing same issue when using this library. I am using AndroidX StartActivityForResult instead of deprecated onActivityResult traditional way. Do you have any idea regarding this cause?

bipinvaylu avatar Jan 30 '21 02:01 bipinvaylu

@bipinvaylu could you able to reproduce this in the new version (3.0.0) ? Thanks

esafirm avatar Nov 19 '22 23:11 esafirm