react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

IOS iPhone 11 freezes and app crashes

Open FayyazAliKhan1 opened this issue 2 years ago • 3 comments

Version

Tell us which versions you are using:

  • react-native-image-crop-picker 0.38.1
  • react-native 0.66.4

Platform

Tell us to which platform this issue is related

  • iOS

Expected behaviour

Should not freeze & crashes after selecting multiple images randomly from 1000 images,

Actual behaviour

When selecting multiple images from hundreds of images randomly, iPhone 11 pro app freezes after the selection when gets back to our app screen, on the same picker screen where you open the picker, and then after some time it gets crashes, the console also not appear if you console images from the response of openPicker function

Steps to reproduce

1.Just create a picker component , and run your app on iPhone 11 pro, then openPicker for multiple images selection

  1. Select random images from hundreds of images, you can select between 5 to 15, just make sure select 1 or 2 from new images then some from between some from last images I mean the oldest images

Attachments

// stacktrace or any other useful debug info there is no error logs just app freezes after selecting from openPicker function and gets crashes,

Please anyone look into this issue, it's a bug in iPhone 11 Pro

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

FayyazAliKhan1 avatar Nov 29 '22 16:11 FayyazAliKhan1

@FayyazAliKhan1 - have you had any more updates on this? It does seem to happen at random and what makes it tricky to diagnose

jacquesdev avatar Jan 13 '23 09:01 jacquesdev

Do we have an update on this issue? I wanted to be able to select multiple images in iOS, but I am currently experiencing the same issue using:

  • react-native: 0.71.12
  • react-native-image-crop-picker 0.39.0

gprinc-hu avatar Oct 04 '23 20:10 gprinc-hu

I was unable to find something regarding this issue, So I just switched to react-native image picker, and in one of my projects where there was a need for the crop feature I used it, the reason is that the crash will happen in the above specific cases, users may not encounter those cases quite often.

FayyazAliKhan1 avatar Oct 08 '23 16:10 FayyazAliKhan1