MultipleImageSelect icon indicating copy to clipboard operation
MultipleImageSelect copied to clipboard

Grant Permission not working

Open bhavinsetubridge opened this issue 8 years ago • 2 comments

Hello Please add read external storage permission for all device version.i cant read images from device when sdk build it below ics,.

bhavinsetubridge avatar Aug 02 '16 06:08 bhavinsetubridge

i had the same issue, seems like there are some cases when the handler is null:

java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=23, result=0, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.myapp.example/com.darsh.multipleimageselect.activities.AlbumSelectActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Message android.os.Handler.obtainMessage()' on a null object reference

so it crashs.

efrencnclose5 avatar Sep 12 '16 18:09 efrencnclose5

I have updated the permission request logic. Can you try it out and see if error still persists?

darsh2 avatar Sep 27 '16 16:09 darsh2