Charly Berthet
Charly Berthet
@scarlac calling `const file = await RNFS.stat("content://...");` still returns the following error `{"nativeStackAndroid":[],"userInfo":null,"message":"File does not exist","code":"EUNSPECIFIED"}` even tho it was picked right from the device gallery. File exists because calling...
I can reproduce with my iphone 12 device iOS 15 when picking old photo. `result.assets` is empty and returns `errorCode "others"`. I suspect something happening with icloud. I can repro...
I was able to repro with a breakpoint and it sounds like the URL returned by `provider loadFileRepresentationForTypeIdentifier` points to an empty file. I picked a live photo captured a...
@Johan-dutoit an idea where I can dig?
FYI: calling a second-time `provider loadFileRepresentationForTypeIdentifier:identifier` inside the `completionHandler` returns a non-empty file. There might be some race conditions where the first call is done too quickly
Help requested on Apple developer forum: https://developer.apple.com/forums/thread/737014
Worst workaround ever, but meanwhile... ``` diff --git a/node_modules/react-native-image-picker/ios/ImagePickerManager.mm b/node_modules/react-native-image-picker/ios/ImagePickerManager.mm index cce30e2..21a6005 100644 --- a/node_modules/react-native-image-picker/ios/ImagePickerManager.mm +++ b/node_modules/react-native-image-picker/ios/ImagePickerManager.mm @@ -547,11 +547,29 @@ - (void)picker:(PHPickerViewController *)picker didFinishPicking:(NSArray
@andresmejia3 not really... As of now, I am using my ugly workaround...
I am getting `nil` on url for some videos 
any news on this PR ? @Johan-dutoit