Ask a Question
Announcement ClientData is always null
over 1 year ago by Bartosz B.
Hello,
My team's efforts to create a newsfeed feature based on Beamable Announcements have not diminished.
Unfortunately in addition to the Unity SDK being unable to fetch the announcements (question https://docs.beamable.com/discuss/64aae8ba1abb650a333536d9) it also seems that the ClientData doesn't get deserialized. We've looked at AnnouncementView, CometClientData classes and AnnouncementSerializationUtil.DeserializeQueryResponse static method and it turns out that despite the fact that the raw json looks like this:
{
"announcements": [
{
"id": "test",
"channel": "any",
"title": "test",
"summary": "test",
"body": "\u003cp\u003etest\u003c/p\u003e",
"attachments": [],
"isRead": false,
"isClaimed": false,
"isDeleted": false,
"clientDataList": [
{
"name": "dsasdas",
"value": "asdasdsa"
}
]
}
]
}
CometClientData.clientDataList is null.
Best
BB