TransportSDK MessagingClient customAttributesStore not adding

Hi.

I am trying to add some custom Attributes to a chat on Android using the TransportSDK.

I have created the MessengerTransportSDK instance and form that created the client.

but when I try to add some customAttributes to the customAttributesStore they are not being added.

When I step through in the debugger I am seeing that there is a check for isCustomAttributeValid, which in turn checks for isSizeExceeded, the issue is that the value that isSizeExceeded() checks against is 0. meaning its impossible to add any customAttributes. which are required for our chat to work as we pass in some key information before the chat starts.

Any ideas?

2 Likes

Hi,
Thanks for raising this issue. I assume, you are using TransportSDK 2.6.0 as the problem you describe was found as regression on this particular version and was fixed in 2.6.1

I recommend updating to 2.6.1 and if it is still present, please let me know.

1 Like

Hi Anton,

Yes I was using 2.6.0, I must have started the day you released the new SDK!. I'll give that a try now.

Thanks

Kev

Thanks Anton.

I have confirmed this was the issue and I am now able to add custom Parameters to chats.

Thanks again.

Kev

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.