Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70916

Firebase remote config

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>