cordova-plugin-file-opener2 icon indicating copy to clipboard operation
cordova-plugin-file-opener2 copied to clipboard

Could not handle UTI Error in iOS

Open shrijeetDeshmukh opened this issue 6 years ago • 5 comments

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

shrijeetDeshmukh avatar Jun 01 '18 09:06 shrijeetDeshmukh

Try this man, in config.xml!

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

godoyrw avatar Jun 01 '18 22:06 godoyrw

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.

richardbourne-ct avatar Jul 26 '18 17:07 richardbourne-ct

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

shnist avatar Dec 18 '18 13:12 shnist

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"
}

WuglyakBolgoink avatar Oct 14 '21 10:10 WuglyakBolgoink

Is there any update on this issue?

dhavalsoni2001 avatar Jun 13 '22 09:06 dhavalsoni2001