twilio / conversations-ios

SPM releases
https://www.twilio.com/docs/conversations/ios/changelog
10 stars 5 forks source link

Error on initialising client with versions higher than 2.2.8 #41

Open gile87 opened 1 year ago

gile87 commented 1 year ago

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)

Gray-Wind commented 1 year ago

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:

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

brian-voong commented 1 year ago

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

Gray-Wind commented 1 year ago

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.

vidriloco commented 9 months ago

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.

berkus commented 8 months ago

@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).