iOS could not handle UTI error (.eml)


#1

I need to open .eml files on my iOS device downloaded in my Ionic 2 app.

I’m downloading .eml file using Cordova Plugin File Transfer and that works perfectly, but when I try to use Cordova Plugin File Opener it says that the device could not handle UTI.

I already tried different MIME types and also include a new UTI type on Info.plist. Also I tried to manage to access the file by other apps that can read .eml files but since iOS directories are private I think that is not possible. I don’t know if it is possible to force a file to be open by a specific app or if I can open a APK dialog to choose “Open with…”.

Any suggestions?
Thanks


#2

Hey, Did you solve this problem ?


#3

No, I used eml to pdf converter as a workaround.