react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

App freezes after first time permission were resolved and photo library was opened on iOS

Open RadoAz opened this issue 4 years ago • 3 comments

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

  1. Build app.

  2. Allow permissions to get photo lib.

  3. 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

RadoAz avatar Nov 18 '21 12:11 RadoAz

Did anyone solve this issue?

DaeunDev avatar Feb 17 '22 07:02 DaeunDev

Anyone got any updates on this?

GaneaIustin avatar Jun 21 '22 15:06 GaneaIustin

I have same bug if app in debug mode - that's OK if release - we have this error (

katunins avatar Jul 23 '22 10:07 katunins