-
Notifications
You must be signed in to change notification settings - Fork 441
JS: Error: Uncaught (in promise): Run init() first! #593
Comments
Did you run |
yes |
i am working on nativescript and this is what i am doing const firebase = require("nativescript-plugin-firebase"); the solution was not clear in this issue: #581 |
I hope you realize your bug report is not too helpful this way. Can you share a repo reproducing the issue? Then also state the steps I need to take to reproduce the issue, and on which platform. |
In my opinion he calls firebase.push() befor the init function returns. |
can u provide the code? |
const firebase = require("nativescript-plugin-firebase");
firebase.init({
persist: false
}).then(instance => {
console.log("firebase.init done");
firebase.push();
}, error => {
console.log(firebase.init error: ${error});
}); |
still same error JS: firebase.init done |
I think that this is related to #612, which version of nativescript and angular are you using? |
See #613. |
i got this error while doing firebase.push()
The text was updated successfully, but these errors were encountered: