You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had some similar behavior with my app unmounting immediately when putting it into the background and also when opening the cropper from this lib.
after hours of research with no results i endet up on this article:
turns out, i had activated the option "Don’t Keep Activities" in the developer options of my phone which causes the MainActivity with rn app to be destroyed once you start another activity (like imagecropper)
Version
-"react-native-image-crop-picker": "^0.35.1",
Platform
Tell us to which platform this issue is related
-[x] Android
Expected behaviour
When openCropper called app should not unmount because openCropper is not returning the image path in then()
Actual behaviour
After cropping image, app restarts and navigate to Home screen (Default ) , while I was on Upload screen.
Steps to reproduce
Attachments
When openCropper called, app state is
background
After cropping done
Image argument was expected but it just again mounting the complete app.
// 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
The text was updated successfully, but these errors were encountered: