iOS SDK Live Chat Navigation bar tint color bug
Hi,
I have updated the Zendesk SDKs to their most up-to-date release versions to remedy the Xcode 13.3 artefact issue. In doing my due diligence to test no other issues have been introduced I have now noticed that when the Live chat Messaging UI is pushed onto my navigation stack, the barTintColor seems to change to what I believe is default Zendesk branding (see attached image). When I push off the stack the barTintColor then changes to whatever had been set at:
CommonTheme.currentTheme.primaryColor
It felt like the navigation barTintColor was being overriden in the Messaging liveChat controller built from:
Messaging.instance.buildUI(...)
So I have hooked into the MessagingDelegate MessagingUIEvent of .viewDidAppear and been able to set the barTintColor back to what it was there. However when pushing off the stack it reverts back to what I believe is the default Zendesk branding blue colour (or whatever is set under the currentTheme.primaryColor).
I feel like this is a bug and cannot find any documentation to explain the behaviour (and actually quite the opposite that the ZendeskSDKs do not control the navigation bar theming color).
Any ideas?
EDIT: Uploading an image doesn't seem to be working...
-
I have the same problem. When the chat UI is being pushed on the navigation stack, the navigation bar is blue.
It feels like a bug, and at least should be configurable.
-
Hi folks,
Yes, we've a couple of bug fixes relating to the Unified SDK, which from your code samples in the SDK that you are using. The newer Zendesk SDK is here. There's a good blog post about the difference here.
These fixes which we'll be releasing soon (we can't share an exact date) will likely resolve this issue, but if this is impacting your business, you should open a support ticket with Zendesk to ensure that we are about to provide the right level of support for each customer incident. -
Hi Mick O'Donnell
Thanks for the update. Just to confirm, are you saying there is a scheduled release to fix this beyond the 31st March Release?
Thanks! -
Correct!
-
Thank you! Could you post an update for when it released please?
-
Hi Mick O'Donnell, it looks like an update to the SDKs happened on April 22, I don't see a mention of this problem in the release notes but wanted to check if the fix was in that release or another future one? Thanks!
-
Hi Ben, apologies, it was overlooked in the release notes. We'll publish an update to the release notes later today. The fix is included in this release, thanks for raising this question.
-
I'm having a similar problem in the latest SDK where the navigation bar title attributes are being reverted to the default when using Messaging.instance.buildUI(...). Other VC created using similar sdk methods (i.e. RequestUi.buildRequestList()) preserve the desired attributes.
-
Hey Ben Franks,
This issue should be fixed as of the most recent update. If you continue to see the issue after updating to the most recent version, please let us know and we can look in to it further for you.
Thanks!
Tipene
-
The navigation bar title color not being set from Messaging.buildUI() with the following versions:
ZendeskAnswerBotSDK: 2.2.0
ZendeskChatSDK: 2.12.0
ZendeskSupportSDK: 5.5.0
Which looking at the release notes is all of the latest versions.
댓글을 남기려면 로그인하세요.
10 댓글