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

TransactionTooLargeException when exclude ArrayList is too big

Open qandeelabbassi opened this issue 6 years ago • 3 comments

I recently encountered a crash when using .exclude(ArrayList<Image>). The crash only happens when the ArrayList is too large. May be because the library uses parcel to serialize and transfer the data to Image picker activity.

qandeelabbassi avatar Aug 27 '18 01:08 qandeelabbassi

Yeah this should happen, especially on Nougat+. Will exclude the list from parcel and use a singleton for workaround.

esafirm avatar Sep 15 '18 06:09 esafirm

Hello @esafirm, any update on this?

qandeelabbassi avatar Sep 20 '18 09:09 qandeelabbassi

I submitted a pull request to fix this issue. Can you please have a look at it

qandeelabbassi avatar Sep 21 '18 14:09 qandeelabbassi