Recent searches
No recent searches
Zendesk SDK iOS - Breaking constraint
Posted Nov 08, 2021
I'm using Zendesk Support SDK, and after showing the support page I can see a few breaking constraints. Is there any way of getting around this?
iOS: 15.1
- ZendeskSupportProvidersSDK (5.3.0):
- ZendeskCoreSDK (~> 2.5.1)
- ZendeskSupportSDK (5.3.0):
- ZendeskMessagingSDK (~> 3.8.2)
- ZendeskSupportProvidersSDK (~> 5.3.0)
2021-11-08 10:29:36.369705+1000 Skedulo[15051:9941532] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x600002348ff0 ZDKmessageBodyField.width == writeAMessage.width + 1 (active, names: ZDKmessageBodyField:0x7f90f7116800, writeAMessage:0x7f90f6f5b320 )>",
"<NSLayoutConstraint:0x600002349270 H:|-(3.5)-[ZDKmessageBodyField] (active, names: ZDKmessageBodyField:0x7f90f7116800, '|':SupportSDK.ConversationTextView:0x7f90f6f44670 )>",
"<NSLayoutConstraint:0x6000023492c0 H:[ZDKmessageBodyField]-(3.5)-| (active, names: ZDKmessageBodyField:0x7f90f7116800, '|':SupportSDK.ConversationTextView:0x7f90f6f44670 )>",
"<NSLayoutConstraint:0x6000023494f0 '_UITemporaryLayoutWidth' SupportSDK.ConversationTextView:0x7f90f6f44670.width == 0 (active)>"
)
0
4 comments
Mick O'Donnell
Hi Bjorn,
Thanks for flagging this issue with us. We're going to address this issue in an upcoming release. In order to help our prioritization, can you please advise if you are seeing any adverse effects on the SDK aside of the messages in the debug console please?
0
Bjorn Andersson
I can't see that there are any affects on the presentation of the page.
Cheers Bjorn
0
Mick O'Donnell
Many thanks, I'll update this post as soon as we have resolved the issue.
0
Mick O'Donnell
Hi Bjorn,
A small follow up and a request for you in relation to this issue please. We've prioritized the work to correct this in the Support SDK. Just to ensure that we address your specific use case, do you mind creating a Zendesk Support ticket here (click on the messaging icon in the bottom right), and include the following information:
1. What screen does this occur on?
2. Any specific reproduction steps?
3. Demo video would be nice if possible.
4. Specific SDK version and OS version (already above, but please include it in the ticket as well).
Post the link to the ticket here once it's created. We'll will fix this issue regardless, but having these details in a support ticket will ensure that your specific use case is covered. Many thanks!
0