Error Alert: The FileConstructor is not functioning as expected, displaying the error message 'FileConstructor is not a constructor (evaluating 'new File([blob], "filename.png")')
Upon researching, I came across a related query Alternative for File() constructor for safari but unfortunately, no satisfactory alternatives were found.
Is there a potential workaround for this issue when working with Ionic Framework on IOS?
Concerning Javascript:
a = Base64 image.
var blob = new Blob([a], {type: 'image/png'});
console.log(blob);
$scope.Issue14 = blob;
var nfile = new File([blob], "filename.png");
console.log(nfile);
$scope.Issue15 = nfile;
var _file = nfile;
console.log(_file);
$scope.Issue16 = _file;
$scope.Images.push({"img": _file});