You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a problem when I am trying to upload a file in Safari and IOS. It gives me the following issue: FileConstructor is not a constructor (evaluating 'new File([blob], "png", {type: "image/png"})');
It seems like File is not supported by them. Do you think anybody can help me with that or have an alternative solution?
Just for reference, this is my code: var blob = b64toBlob($scope.questionImgSrcCrop.split(",")[1], "image/png"); var file = new File([blob], "png", {type: "image/png"});
Hello,
I have a problem when I am trying to upload a file in Safari and IOS. It gives me the following issue: FileConstructor is not a constructor (evaluating 'new File([blob], "png", {type: "image/png"})');
It seems like File is not supported by them. Do you think anybody can help me with that or have an alternative solution?
Just for reference, this is my code:
var blob = b64toBlob($scope.questionImgSrcCrop.split(",")[1], "image/png"); var file = new File([blob], "png", {type: "image/png"});
@kinstephen
The text was updated successfully, but these errors were encountered: