twilio / conversations-ios

SPM releases

Home Page:https://www.twilio.com/docs/conversations/ios/changelog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on initialising client with versions higher than 2.2.8

gile87 opened this issue · comments

commented

When i try to initialise client with any version higher than 2.2.8 i am getting error, message NOT_ACCEPTABLE_MESSAGE, error: baseNSError@0 = domain: "signal.sdk.domain.error" - code: 1

TwilioConversationsClient.conversationsClient(withToken: "TOKEN", properties: nil, delegate: self)

Hello,

Thank you for reaching out. Would you be so kind to open a support ticket and provide some details for your use case such as:

  • Sample token you use to create a client
  • If it is reproducible locally it would be great if you attach logs with debug or trace level.

Please add a link back to this issue when you open the support ticket.

We're also experiencing similar crashes on initialization on 2.2.5:
[TwilioConversationsClient initializeClientWithToken:completion:]

Hi @brian-voong,

First of all, I would recommend to update to the latest version of the SDK. Since you are talking about crash, and this issue is not about any crash, please open a new issue dedicated to your problem.

Hey folks.

Anyone managed to find out under what conditions is the [TwilioConversationsClient initializeClientWithToken:completion:] crash occurring?

Also experiencing this behaviour in 2.2.7. I've seen in other reported issues that this crashing issue is solved in v2.2.5 but still seeing it and we cannot update right away to the latest version unfortunately.

@gile87 have you tried 3.x or 4.x versions?

NOT_ACCEPTABLE_MESSAGE means your token might be incorrect, I don't see any other reasons why it would occur (apart from a messed up communications channel, MITM or something like that, but that's unlikely).