ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.09k stars 1.55k forks source link

URGENT!!! iOS: App crashes if the selected image has size more than 15mb #1649

Open sujay-bidchat opened 3 years ago

sujay-bidchat commented 3 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

Selected image should be available to crop and then should be available in the app

Actual behaviour

App crashes if the selected image has size more than 15mb

Steps to reproduce

  1. Open Image picker

  2. Select an image of size more than 15mb (tried on iPhone 6)

  3. App crashes as soon as the image is selected

// stacktrace or any other useful debug info

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

sujay-bidchat commented 2 years ago

@ivpusic Can you please look into this?

Farzin-Firoozi commented 2 years ago

Same issue on sentry "Out of memory error"

Farzin-Firoozi commented 2 years ago

I used react-native-image-resizer and my issue was solved. ✅