Hi
I'm confused.
In this trade:
https://www.b4x.com/android/forum/t...ions-push-messages-server-not-required.68645/
Erel says: You can handle the Application_PushToken event if you want to access the token
In the same trade says:
I'm using this:
Then I save my token on mysql.
I used SendingTool to test notification and it works with "ios_general"
How can I use token testing with SendingTool?
Is correct to save on mysql and then use hte tokenid formatted like it?
Tokenid=bc.HexFromBytes(Token)
After this test i need to send push notification from a php script.
Tks
Marco
I'm confused.
In this trade:
https://www.b4x.com/android/forum/t...ions-push-messages-server-not-required.68645/
Erel says: You can handle the Application_PushToken event if you want to access the token
In the same trade says:
I'm using this:
B4X:
Private Sub Application_PushToken (Success As Boolean, Token() As Byte)
If Success Then
Dim bc As ByteConverter
Dim j As HttpJob
Tokenid=bc.HexFromBytes(Token)
Log("Tokenid: " & Tokenid)
Else
Log("Error getting token: " & LastException)
End If
End Sub
Then I save my token on mysql.
I used SendingTool to test notification and it works with "ios_general"
How can I use token testing with SendingTool?
Is correct to save on mysql and then use hte tokenid formatted like it?
Tokenid=bc.HexFromBytes(Token)
After this test i need to send push notification from a php script.
Tks
Marco