i have tested FirebaseNotification and FirebaseAuth... works, but i would like to store the token when user subscribe with google-service or with another metod
when user sign in store ID in authentication tab, but this ID not works to SendMessageToSingleDevice
Thanks
Grazie
P.S.: Sorry Erel, but i don't know how to tag code
B4X:
Public Sub SubscribeToTopics
fm.SubscribeToTopic("general") 'you can subscribe to more topics
Log(fm.token)
End Sub
when user sign in store ID in authentication tab, but this ID not works to SendMessageToSingleDevice
B4X:
Sub Auth_SignedIn (User As FirebaseUser)
Log("SignedIn: " & User.DisplayName)
lblName.Text = "Hello: " & User.DisplayName
auth.GetUserTokenId(User,False)
End Sub
Thanks
Grazie
P.S.: Sorry Erel, but i don't know how to tag code
Last edited: