[File Plugin] Error 5, Encoding Error (ENCODING_ERR)

[File Plugin] Error 5, Encoding Error (ENCODING_ERR)

Forge Component
Published on 5 Mar (13 days ago) by OutSystems Experts
1 vote
Published on 5 Mar (13 days ago) by OutSystems Experts

Hi all,

I'm trying to use this component to save an excel file exported in a Server Side Action - mobile app in attach. Unfortunately I get an Encoding Error (code 5 - ENCODING_ERR) which I find listed in cordova-plugin-file documentation (i.e. https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/index.html). However, I stil can't find any online references for possible solutions to this error. Any ideas or workarounds?

I'm using an Android 4.4.2 mobile device, by the way.


- I got the issue after I got dependency I don't know how to use it.

- Anyone have experienced on it, please share with us... It is better if we have an example

Hi Hien Tran,

For an example you can check the File Plugin Sample but unfortunately I also faced an issue with the same Android device, which I've posted here. I hope you're luckier.