-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File constructor parameters order are wrong on android? #252
Comments
Same issue here. Is there a workaround to avoid this ? Thanks in advance |
I have migrated to use blobs in most part of my code and just use File when I know I'm running a code on a device and not in the browser. But it's a hack... |
Ok, I will try to do the same, thank you @HarelM . In my case I think that it is a little bit more complicated as I'm using other third party libraries which could be affected for this issue. For example, this library, https://github.com/digitalascetic/ngx-pica, internally generates compressed files which are built wrongly due to this issue (I guess) and I think that it is complicate to deal with this unexpected behavior. |
@rpanadero I agree this is a problem and it should be fixed, IMHO, this is why I reported it. |
This issue is tracked at #316 so I'll be closing this issue. |
I have the following code:
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:
And here is the output of the console when running on an android simulator:
Am I doing something wrong?
Looks like the name is the first parameter (the blob)...?
The text was updated successfully, but these errors were encountered: