You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
I am using Sharp.XMPP library for FCM. I can connect fine and it receives Upstream messages without issues. However, sending ack returns with Error Code 400 with following details
whereas the Xs replace the device registration token from which the Upstream message was received. The code I'm using to form a message and send:
Sharp.Xmpp.Im.Message x = new Sharp.Xmpp.Im.Message(vFrom);
x.Data.SetAttribute("message_id", vMessageID);
x.Data.SetAttribute("message_type", "ack");
cl.SendMessage(x);
The string vFrom contains the device_token. I can not replace : as it is an essential part of device token and : does not escape it either. Hexadecimal equivalents don't work. What is the correct way of using colon or other special characters in here?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using Sharp.XMPP library for FCM. I can connect fine and it receives Upstream messages without issues. However, sending ack returns with Error Code 400 with following details
whereas the Xs replace the device registration token from which the Upstream message was received. The code I'm using to form a message and send:
The string vFrom contains the device_token. I can not replace : as it is an essential part of device token and : does not escape it either. Hexadecimal equivalents don't work. What is the correct way of using colon or other special characters in here?
The text was updated successfully, but these errors were encountered: