Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to get Firebase token after user Login?

$
0
0

Here i am getting firebase id token ,and it works fine-
public async override void OnTokenRefresh()
{
refreshedToken = FirebaseInstanceId.Instance.Token;
SendRegistrationToServer(refreshedToken);
}

but how to generate this token only when user login to the app(after click on login button)?
give me sample code for do this.


Viewing all articles
Browse latest Browse all 77050

Trending Articles