Cordova alternative to UNIX cat command

Is there an alternative to writing my own Cordova plugin to concatenate files in Cordova?

My other (so far unsuccessful) approach can be seen here: Combining multiple parts of a file in Cordova

+3


source to share


1 answer


Yes, there is a way, see my other question + answer here .



In short, you have to use the Cordova File API and the HTML5 File API to read the files and then bundle them together with the FileWriter of Cordova. Make sure to use readAsArrayBuffer instead of readAsBinaryString!

0


source







All Articles