Develop on React Native.
To access the list of photos
<string>We need access to your photo library so that we can write photos</string>
For my entry:
<string>$(PRODUCT_NAME) camera use</string>
You need to take a picture and send it to the server.
When you try to take a picture in XCode throws the error:libsystem_kernel.dylib`__abort_with_payload
Solves the problem:
But then can't read from the directory with the photo - gives an error (no permissions to read).
If set at the same time NSCameraUsageDescription and NSPhotoLibraryAddUsageDescription the app crashes when you first try to take a picture and send. In subsequent runs it works.
Who faced, prompt please.