react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
[iOS] Gallery opens slow when lots of photos/albums on device
Version
- react-native-image-crop-picker v0.36.0 (~~react-native-image-crop-picker v0.26.1~~)
- react-native v0.62.2
Platform
- iOS
Expected behaviour
Image gallery should open within a reasonable amount of time, even if a large number of photos exist on the user's device (my guess is this is the source of the problem).
Actual behaviour
Gallery takes up to 2 minutes to load. Once it is open, navigating between the different galleries on the user's device is extremely slow/delayed on the UI.
When tested on a device with much fewer photos (ie. iOS Simulator), it functions at an expected speed.
Steps to reproduce
-
Start with an iOS device with lots of photos and lots of albums. (My device has 46k photos/videos, across probably 30+ albums)
-
Run
ImagePickerwith default settings. (I am not enablingincludeBase64, so that is not the issue)
@trackwell-mike
I can understand the problem, It's really frustrating for application users.
Until you find any working solution, try to put ActivityIndicator or some kind of Loder when opening picker, and hide it when you get response or error, so user will think gallery is being load.
And if you find out something helpful solution to overcome this problem, you can share here!
This doesn't appear to be a popular issue, but we still are experiencing it.
@ivpusic I'm curious if you've seen this type of issue before?
A user of our app just reported this issue. She has >68K images on her phone. It takes >10 seconds to load the gallery.
And....still no solution?
Hi there! Chiming in that I am also seeing reports of significant delay with a user who has over 68k images. (CC: @pfrazee)
I al experiencing the same issues. I have just shy of 25k photos and videos and the gallery takes around 3-5 seconds to load. Also selecting photos is slow as well.
This is really bad. When migrating to expo-image-picker, I can't make the free cropping work in iOS, so I have to stay with this library. Any updates on fixing this performance issues?
A huge problem..any ideas what causing the heavy scrolling and opening of the gallery? It seems that including exif make it much slower...but it is slow even without.