android-multipicker-library
android-multipicker-library copied to clipboard
App was crash when select profile pic from gallery in Android Q
In Android Q, when we open multi picker for image selection, and I am selected Gallery option that moment app was crash, below is crash report:
Caused by: java.lang.IllegalArgumentException: column 'bucket_id' does not exist. Available columns: [instance_id, format, height, is_drm, owner_package_name, parent, date_modified, date_expires, _display_name, mime_type, _id, _data, _hash, _size, title, width, is_trashed, document_id, is_download, is_pending, date_added, primary_directory, secondary_directory, original_document_id, media_type, relative_path]
I am using below version:
com.kbeanie:multipicker:1.6@aar
@Hinal1108 That is not a library issue. add below line in your application tag of a manifest file...
android:requestLegacyExternalStorage="true"
@nilsorathiya This is an Android Q security issue. And your solution is temporary, this solution is not working in Android 11. check this link. Please refer this link for better solution.
Please provide support for android Q also as you need to provide support for scope storage.