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

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

  
Forge Component
(1)
Published on 2016-12-28 by Rodrigo Coutinho
1 vote
Published on 2016-12-28 by Rodrigo Coutinho

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.

Thanks!

- 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.


Cheers!