Hello,
my app does not working after the last update of B4I and B4iBuildServer. It is an app, in which user subscribes to a topic (Firebase push notification),
and after the subscription, I use a method named GetToken. (I found this method in another post)
But after the last update, when I compile my app and execute the GetToken method, I get this error (attached file).
The line of the error is this one: Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null)
Any advice?
Thank you in advance!
my app does not working after the last update of B4I and B4iBuildServer. It is an app, in which user subscribes to a topic (Firebase push notification),
and after the subscription, I use a method named GetToken. (I found this method in another post)
B4X:
Private Sub GetToken As String
Dim no As NativeObject
Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null)
If token.IsInitialized Then Return token.AsString Else Return ""
End Sub
But after the last update, when I compile my app and execute the GetToken method, I get this error (attached file).
The line of the error is this one: Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null)
Any advice?
Thank you in advance!