pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 584 forks source link

Could not handle UTI Error in iOS #214

Open shrijeetDeshmukh opened 6 years ago

shrijeetDeshmukh commented 6 years ago

Getting error on opening file on iOS

Could not handle UTI

File path: file:///Users/shrivallabhdeshmukh/Library/Developer/CoreSimulator/Devices/57712F3D-D277-4C6C-B474-9F08880860A8/data/Containers/Data/Application/89CE941C-5318-443C-B6B3-132D46B4FAA9/Library/NoCloud/102

godoyrw commented 6 years ago

Try this man, in config.xml!

<preference name="iosPersistentFileLocation" value="Library" />

richardbourne-ct commented 5 years ago

If it helps, I received this error when trying to open image/x-ms-bmp and application/rtf files - no other files were causing problems.

Forcing the files to open as image/bmp and text/rtf respectively seemed to do the trick.

shnist commented 5 years ago

hi @shrijeetDeshmukh, thanks for raising this issue. Were you able to resolve your issue in the end with the suggestions in this thread?

WuglyakBolgoink commented 2 years ago

Try this man, in config.xml!

<preference name="iosPersistentFileLocation" value="Library" />

@godoyrw

this doesn't help.

we have same error on

{
    "platform" : "iOS",
    "version" : "14.7",
    "model" : "iPad8,6",
    "cordova" : "6.2.0"
}

Update 09.06.2022:

{
    "platform" : "iOS",
    "version" : "15.5",
    "model" : "iPad8,6",
    "cordova" : "6.2.0"
}
dhavalsoni2001 commented 2 years ago

Is there any update on this issue?