ml-archive / filepicker

File picker / acquire photo library for android
5 stars 0 forks source link

using this dependency with android 11 #10

Open shlomi-ts opened 3 years ago

shlomi-ts commented 3 years ago

when I'm going to FilePickerActivity from android 11 val intent = Intent(activity, FilePickerActivity::class.java) intent.putExtra(FilePickerConstants.TYPE, FilePickerConstants.MIME_IMAGE) startActivityForResult(intent, READ_REQUEST_CODE)

I experience a crash - java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.nodes.filepicker.FilePickerActivity}: java.lang.IllegalArgumentException: Unsupported MIME type image/jpg at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)

Jitendrasahu999 commented 3 years ago

Yes, i am not use this libaray on Android 11 Please resolve......As soon as posible

when I'm going to FilePickerActivity from android 11 val intent = Intent(activity, FilePickerActivity::class.java) intent.putExtra(FilePickerConstants.TYPE, FilePickerConstants.MIME_IMAGE) startActivityForResult(intent, READ_REQUEST_CODE)

I experience a crash - java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.nodes.filepicker.FilePickerActivity}: java.lang.IllegalArgumentException: Unsupported MIME type image/jpg at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)

Jitendra Sahu

Jitendrasahu999 commented 3 years ago

Yes, i am not use this libaray on Android 11 Please resolve......As soon as posible

when I'm going to FilePickerActivity from android 11 val intent = Intent(activity, FilePickerActivity::class.java) intent.putExtra(FilePickerConstants.TYPE, FilePickerConstants.MIME_IMAGE) startActivityForResult(intent, READ_REQUEST_CODE)

I experience a crash - java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.nodes.filepicker.FilePickerActivity}: java.lang.IllegalArgumentException: Unsupported MIME type image/jpg at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)

Jitendra Sahu

Jitendrasahu999 commented 3 years ago

Yes, i am not use this libaray on Android 11 Please resolve......As soon as posible

when I'm going to FilePickerActivity from android 11 val intent = Intent(activity, FilePickerActivity::class.java) intent.putExtra(FilePickerConstants.TYPE, FilePickerConstants.MIME_IMAGE) startActivityForResult(intent, READ_REQUEST_CODE)

I experience a crash - java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.nodes.filepicker.FilePickerActivity}: java.lang.IllegalArgumentException: Unsupported MIME type image/jpg at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)

Jitendra Sahu

Jitendrasahu999 commented 3 years ago

Yes, i am not use this libaray on Android 11 Please resolve......As soon as posible

when I'm going to FilePickerActivity from android 11 val intent = Intent(activity, FilePickerActivity::class.java) intent.putExtra(FilePickerConstants.TYPE, FilePickerConstants.MIME_IMAGE) startActivityForResult(intent, READ_REQUEST_CODE)

I experience a crash - java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.nodes.filepicker.FilePickerActivity}: java.lang.IllegalArgumentException: Unsupported MIME type image/jpg at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)

Jitendra Sahu

Jitendrasahu999 commented 3 years ago

Yes, i am not use this libaray on Android 11 Please resolve......As soon as posible

when I'm going to FilePickerActivity from android 11 val intent = Intent(activity, FilePickerActivity::class.java) intent.putExtra(FilePickerConstants.TYPE, FilePickerConstants.MIME_IMAGE) startActivityForResult(intent, READ_REQUEST_CODE)

I experience a crash - java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.nodes.filepicker.FilePickerActivity}: java.lang.IllegalArgumentException: Unsupported MIME type image/jpg at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)

Jitendra Sahu