iOS Question Firebase GetToken function return empty value

Ali Alsaedi

Licensed User
I use This Funstion For Get Token

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 always return empty value

i do not know problem from me or google firebase service

topic not display in firebase consol

notification not send to device or simulator

several times delete and create certificate and provision profile

but dont not work yet

I got confused

please help me