Ask a Question
Announcement ClientData is always null
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
Thanks for this report, Bartek! The clientData
is supposed to be reflected in the data structure, so if it is not coming through, that is unexpected behavior. I will bring this issue to the team so that we can reproduce, diagnose, and fix it.
ο»Ώ