lundi 24 avril 2017

Firebase get push key when user login

Iam trying to get the user push key when he login. I want to use this push key so i can use it to retrieve the user data from other root node.

Or is it better to just use the uid for the relations?

firebase.auth().onAuthStateChanged(function(user)
{ 


  if(user)
  {

      // get the user push key?
  }


});




Aucun commentaire:

Enregistrer un commentaire