Sub Application_PushToken (Success As Boolean, Token() As Byte)
Log($"PushToken: ${Success}"$)
Dim bc As ByteConverter
Log(bc.HexFromBytes(Token))
Log(LastException)
End Sub
Firebase notifications works properly.
Only you can find out which setting is not set correctly. If you are unable to find it then start from scratch (including a new firebase project).
now im start from scratch
i have new error
when build bridge
=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===
Check dependencies
Provisioning profile "Sendebad" has app ID "Sendebad.app", which does not match the bundle ID "Sendebad.app.bridge".
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
Error: ** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Sub Application_PushToken (Success As Boolean, Token() As Byte)
Log($"PushToken: ${Success}"$)
Dim bc As ByteConverter
Log(bc.HexFromBytes(Token))
Log(LastException)
Log(GetToken) < ------ THIS TOKEN
End Sub
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