atsign-foundation / atmosphere_pro

A fully end-to-end encrypted, cross-platform file sharing app written in Flutter
BSD 3-Clause "New" or "Revised" License
57 stars 48 forks source link

AtmospherePro Mobile: File Picker error #178

Open CynthiaPeter opened 2 years ago

CynthiaPeter commented 2 years ago

What I tried to do I tried sending a photo from one atSign to another and I ended up with an error.

Below, I have attached screenshots and the error log.

Image

https://user-images.githubusercontent.com/33583060/186482669-d801ae0c-9492-45f7-a153-52b8c6813a52.mp4

Error log: flutter: [MethodChannelFilePicker] Platform exception: PlatformException(file_picker_error, Temporary file could not be created, Error Domain=NSItemProviderErrorDomain Code=-1000 "Cannot load representation of type public.item" UserInfo={NSLocalizedDescription=Cannot load representation of type public.item, NSUnderlyingError=0x600002400e70 {Error Domain=NSCocoaErrorDomain Code=4101 "Couldn’t communicate with a helper application." UserInfo={NSUnderlyingError=0x60000242a2b0 {Error Domain=PHAssetExportRequestErrorDomain Code=0 "The operation couldn’t be completed. (PHAssetExportRequestErrorDomain error 0.)" UserInfo={NSLocalizedDescription=The operation couldn’t be completed. (PHAssetExportRequestErrorDomain error 0.), NSUnderlyingError=0x60000242a490 {Error Domain=PAMediaConversionServiceErrorDomain Code=2 "The operation couldn’t be completed. (PAMediaConversionServiceErrorDomain error 2.)" UserInfo=0x600002a59620 (not displayed)}}}}}}, null)

yahu1031 commented 2 years ago

Here is a related issue https://github.com/miguelpruivo/flutter_file_picker/issues/997

This happens mostly with M1 mac simulators. And As the author stated, it is a known issue from ios 14 and many comments mentioned that only happens with simulators, This ticket can be ignored(can be moved to backlog/waiting for upstream dependencies). There was my comment too in that.

sachins-geekyants commented 2 years ago

Simulator specific issue, moving to backlog.