-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
send file with multipart and formData stucks #487
Comments
I had the same problem. The request response simply does not exist, as if it has remained in limbo. I tested using angular http and I didn't have the same problem. |
Same problem here. |
I have the same issue and was wondering if I did something wrong. Further I'm using capacitor and not Cordova, maybe this causes an issue? |
I found the solution here : In www/helpers.js I replaced: var reader = new global.FileReader(); by: const fileReader = new global.FileReader();
const zoneOriginalInstance = fileReader["__zone_symbol__originalInstance"];
var reader = zoneOriginalInstance || fileReader; I hope it will work for you as well. |
Hi @silkimen , |
For those that are not capable to fork the plugin and need to erase the fileReader at a higher level, here's a snippet code :
And just erase it before doing your post operation
|
request stucks when send file with serialize is 'multipart' and form data, not give any responds even after very long-long time
here my example of use
The text was updated successfully, but these errors were encountered: