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
Thanks for an awesome script, very useful! It´s works flawlessly in Chrome for Android and in Safari on iOS, but in the native Android browser and UC Browser the files have a content-length of 0 when they reach the server :( I have also tried to use the $upload.http and send the file as an ArrayBuffer with no luck. Unfortunately kind of stuck and out of ideas now and any help or guidance would be very appreciated :)
The text was updated successfully, but these errors were encountered:
If you really want to get it work on the native browser you can try to get a simple html multipart file upload to work there and then try to send the file with XMLHttpRequest without angular.js. If both of them worked then we can narrow down where things go wrong.
Also look for the known bugs of the browser version you are using, maybe it is a known bug and there are workarounds.
Ok, after some digging this seems to be a known Android bug http://ghinda.net/article/jpeg-blob-ajax-android/ and I only get it to work if I send the image as an ArrayBuffer with XMLHttpRequest. I guess I will have to change my implementation to that. Thanks for pointing me in the right direction!
Thanks for an awesome script, very useful! It´s works flawlessly in Chrome for Android and in Safari on iOS, but in the native Android browser and UC Browser the files have a content-length of 0 when they reach the server :( I have also tried to use the $upload.http and send the file as an ArrayBuffer with no luck. Unfortunately kind of stuck and out of ideas now and any help or guidance would be very appreciated :)
The text was updated successfully, but these errors were encountered: