FirebaseExtended / angularfire

AngularJS bindings for Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firestorage $putString callbacks not binding

bondseid opened this issue · comments

**Angular: 1.7.4 **

Firebase:3.9.0

AngularFire:2.3.0

Test case

let photoStorage = $firebaseStorage(ref);
let uploadTask = photoStorage.$putString("data:string", "data_url");
uploadTask.then();

firebase.js:585 Uncaught (in promise) TypeError: Cannot read property 'then' of undefined
at Object.T.then (firebase.js:585)

This error is thrown for all callbacks. $complete, .catch etc...

Have you find a solution for this ? I have the same problem ...

Sorry for the radio silence, as you might've gathered we're not investing in AngularFire at the moment, advising folk migrate to Angular and @angular/fire instead.