I have the following code:
```
let blobToSave = this.nonAngularObjectsFactory.b64ToBlob(responseData, 
"application/octet-stream");
let file = new File([blobToSave], route.name + ".gpx");
console.log(file);
```
Which basically gets a base64 string from the server, converts it to blob and 
creates a file from it.
Here is the output of the console in the browsers:
![image](https://user-images.githubusercontent.com/3269297/45282830-be1e4c80-b4e4-11e8-8dd3-2f4bb74078a1.png)
And here is the output of the console when running on an android simulator:
![image](https://user-images.githubusercontent.com/3269297/45282871-e312bf80-b4e4-11e8-9257-75dcd1a1bf1d.png)
Am I doing something wrong?
Looks like the name is the first parameter (the blob)...?

[ Full content available at: 
https://github.com/apache/cordova-plugin-file/issues/252 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to