App crashes on tapping "Manage" button with keeping selected photos
Version
Tell us which versions you are using:
- react-native-image-crop-picker v0.37.3
- react-native v0.64.2
Platform
Tell us to which platform this issue is related
- iOS iPad Pro (9.7-inch) 15.4
Expected behaviour
Open up the native iOS modal to select more photos
Actual behaviour
App crash
Steps to reproduce
-
Open the photo picker with selected photos option
-
Tap "Keep current selection"
-
tap "Manage" button in top right
Attachments

*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x7f974b952e00>) of style UIAlertControllerStyleActionSheet from QBImagePickerController (<QBImagePickerController: 0x7f974b390470>). The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem. If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'
*** First throw call stack:
(
0 CoreFoundation 0x000000011417ad44 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x0000000114b69a65 objc_exception_throw + 48
2 UIKitCore 0x000000012e47ccb2 -[UIPopoverPresentationController presentationTransitionWillBegin] + 4195
3 UIKitCore 0x000000012e489069 __80-[UIPresentationController _initViewHierarchyForPresentationSuperview:inWindow:]_block_invoke + 2721
4 UIKitCore 0x000000012e48675b __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.401 + 412
5 UIKitCore 0x000000012f2de2d5 -[_UIAfterCACommitBlock run] + 54
6 UIKitCore 0x000000012f2de7cd -[_UIAfterCACommitQueue flush] + 190
7 UIKitCore 0x000000012ed8babd _runAfterCACommitDeferredBlocks + 782
8 UIKitCore 0x000000012ed7b38d _cleanUpAfterCAFlushAndRunDeferredBlocks + 135
9 UIKitCore 0x000000012edaf8c6 _afterCACommitHandler + 72
10 CoreFoundation 0x00000001140e667d __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
11 CoreFoundation 0x00000001140e0e41 __CFRunLoopDoObservers + 570
12 CoreFoundation 0x00000001140e13d9 __CFRunLoopRun + 1100
13 CoreFoundation 0x00000001140e0a90 CFRunLoopRunSpecific + 562
14 GraphicsServices 0x000000011e5cfc8e GSEventRunModal + 139
15 UIKitCore 0x000000012ed7c90e -[UIApplication _run] + 928
16 UIKitCore 0x000000012ed81569 UIApplicationMain + 101
17 [thismobileapp] 0x000000010c2a53e8 main + 104
18 dyld 0x0000000112e55f21 start_sim + 10
19 ??? 0x000000011d69d51e 0x0 + 4788442398
)
libc++abi: terminating with uncaught exception of type NSException
// 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
I have the same problem on 0.38.0. Do you manage to find a solution for this?
Same problem here
Also having this issue.
You can find the solution here https://github.com/ivpusic/react-native-image-crop-picker/issues/1765
Having the same issue, the patch is not working nor is any new version.