angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Upload file to firebase storage has error on Ms Edge, but works on Chrome and firefox and safari

Open fayeyen opened this issue 8 years ago • 1 comments

The error of uploading file on Edge as follow ERROR Error: Uncaught (in promise): TypeError: Function expected TypeError: Function expected at Anonymous function (eval code:115:33) at SafeSubscriber.prototype.__tryOrUnsub (eval code:248:13) at SafeSubscriber.prototype.next (eval code:195:17) at Subscriber.prototype._next (eval code:136:9) at Subscriber.prototype.next (eval code:100:13) at Subject.prototype.next (eval code:65:17) at Anonymous function (eval code:49:21) at ZoneDelegate.prototype.invoke (eval code:386:13) at onInvoke (eval code:4976:17) at ZoneDelegate.prototype.invoke (eval code:386:13)

However upload files work fine on Chrome, firefox and safari. So I think is the firebase and angularfire2 packages version no work on Edge, I use [email protected] and [email protected] I also try angularfire2 5.0.0-rc.6 and firebase 4.12.1 both with the same error any suggested version upload file work at Edge as well.

fayeyen avatar Jun 20 '18 19:06 fayeyen

I found the problem, is ng2-img-max not work on edge, if I not use resize the image the upload work fine in all the browser.

fayeyen avatar Jun 20 '18 22:06 fayeyen