-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHPickerViewController view is not in the window hierarchy #209
Comments
Is this issue similar to this one: RCTModalHostViewController Thank you, |
Yes @mmenacer this issue is similar to what you posted. I am also facing the same issue. |
I found the issue and a solution for this issue. The issue is only for iOS platform. The problem is that the app has more than 2 modals open. And if you open the image picker it will be the 3rd modal (on open state).
If you can not close it so the solution is to convert all your modals that they are before the react picker modal to a view/screen components. |
Same issue here. It doesn't work with |
I'm using react-native-image-picker to let the user select an image from the gallery. When I try to use the returned value with the PhotoEditor, I get the following error message in Xcode:
Here's the code that I use to launch the PhotoEditor:
response.uri
is the value returned fromreact-native-image-picker
and is similar to the following (which is a path to an image, that exists on my system.There is a similar issue from 2019, but the author says it works with
react-native-image-picker
. Am I correct with the assumption, thatreact-native-image-picker
moves the image to the app sandbox?Can anybody help me with this problem and know, why
PHPickerViewController
is not loaded into the hierarchy?The text was updated successfully, but these errors were encountered: