react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
App freezes after first time permission were resolved and photo library was opened on iOS
Version
Tell us which versions you are using:
- react-native-image-crop-picker v0.37.2
- react-native v0.63.2
Platform
iOS
Expected behaviour
Actual behaviour
after ImagePicker.openPicker({...}) app opens photo library to choose photo, at the same time app freezes with such errors in xcode console:
[core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)"" [PAAccessLogger] Failed to log access with error: access=<PATCCAccess 0x280438cc0> accessor:<<PAApplication 0x28282a120 identifierType:auditToken identifier:{pid:25616, version:71137}>> identifier:EE3C21FF-A0F7-4FBC-9F4E-1D52973B5839 kind:intervalEnd timestampAdjustment:0 tccService:kTCCServicePhotos, error=Error Domain=PAErrorDomain Code=10 "Possibly incomplete access interval automatically ended by daemon" [25616:9808326] Metal API Validation Enabled [25616:9808326] fopen failed for data file: errno = 2 (No such file or directory) [25616:9808326] Errors found! Invalidating cache...
Steps to reproduce
-
Build app.
-
Allow permissions to get photo lib.
-
ImagePicker.openPicker({ width: 150, height: 150, cropping: true }) .........
Attachments
// 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
Did anyone solve this issue?
Anyone got any updates on this?
I have same bug if app in debug mode - that's OK if release - we have this error (