@joconolimits wrote:
Hey Guys
I need to achieve the following:
- From an API response I get JSON with file details.
- In The JSON I have a property DocumentData which is a byte array.
- What I need is to download that file in the device storage.
- I can create a file with the cordova-file-plugin but I can't load it with the DocumentData, as the cordova file plugin receives a string for the data property.
So My questions are. How can I create / Download a file from a byte array?
Can I achieve this with the cordova-file-plugin, or I need to use other plugin?Regards
Jordan
Posts: 1
Participants: 1