ImagePicker icon indicating copy to clipboard operation
ImagePicker copied to clipboard

mimeTypes problem

Open NikNikYkt opened this issue 2 years ago • 0 comments

hi. I'm have problem `web.setWebChromeClient( new WebChromeClient() {

        @Override
        public boolean onShowFileChooser(WebView webView, ValueCallback<Uri[]> filePathCallback, FileChooserParams MODE_OPEN_MULTIPLE) {

            ImagePicker.with(activity)
                    .galleryMimeTypes(  //Exclude gif images
                            mimeTypes = arrayOf(
                                    "image/png",
                                    "image/jpg",
                                    "image/jpeg"
                            ))
                    .compress(600)
                    .galleryOnly()
                    .start(web.mRequestCodeFilePicker);
            return true;
        }
    });`

Снимок экрана (30) what am I doing wrong? is it possible to enable multiple selection of files? translated with GoogleTranslate

NikNikYkt avatar Oct 12 '21 09:10 NikNikYkt