@inamit wrote:
Hi,
I’m using firebase on a certain project (V3).
I use this plugin: firebase plugin.
FCM and Database (Using angularfire) works (though I wasn’t able to send push notifications to devices, tested on iOS)when I use this code:
this.url = ""; console.log("before getValue()"); this.firebase.getValue("info_url").then(url => { console.log("during getValue()"); this.url = url; console.log(this.url); }).catch(error => { console.log(error); }); console.log("after getValue()");
console prints:
before getValue()
after getValue()and I don’t get any URL.
I would love to get suggestions.
Thank you for answers.Amit
Posts: 1
Participants: 1