Trying to move to Firebase and I have a need to use the Google Authentication token (not the Firebase token from GetUserTokenId) I see the properties in the Firebase Java API Doc and figured I could use the javaobject method to retrieve the value. I am trying this code:
But of course I get
I tried to add a reference as #AddditionalJar but I couldn't find a firebase.jar to copy to libraries.
Am I barking up the right tree?
Thanks,
Gentry
B4X:
Sub Auth_SignedIn (User As FirebaseUser)
Dim jo As JavaObject
jo.InitializeStatic("com.firebase.client.AuthData")
Dim gtoken As String
gtoken = jo.RunMethod("getToken",Null)
log(gtoken)
But of course I get
B4X:
java.lang.ClassNotFoundException: com$firebase$client$AuthData
I tried to add a reference as #AddditionalJar but I couldn't find a firebase.jar to copy to libraries.
Am I barking up the right tree?
Thanks,
Gentry