최근 검색
최근 검색 없음

anoop
가입한 날짜: 2022년 5월 17일
·
마지막 활동: 2024년 12월 02일
팔로잉
0
팔로워
0
총 활동 수
20
투표 수
2
플랜 수
5
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 anoop
anoop님이 에 게시물을 만듦
Hi,
We are using ZendeskSDKMessaging (https://github.com/zendesk/sdk_messaging_ios) , as part of the general update of our app, we need to use SwiftUI. We tried to invoke the messaging UI by Wrapping into a UIViewRepresentable, we are able to get the UI working but the close button on the navigationbar doesnt show up, we tried manually setting it to navbar but sdk seem to override all of those. We could see some constraint breaks (see below) which we believe is causing this issue. Can you take a look? this is blocking us from SwiftUI migration
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
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.
(
"",
"",
""
)
Will attempt to recover by breaking constraint
2024년 12월 02일에 게시됨 · anoop
0
팔로워
2
투표 수
1
댓글
anoop님이 에 게시물을 만듦
I have seen many posts about the SDK not being able to clear sessions as web widget does. Want to understand this better.,.
Our use case
1. A user logs into our App
2. Opens up Zendesk Messaging (we dont use JWT auth)
3. Creates tickets have conversations etc.
4. In future say the user logs out from our App, in this case I want to clear all the messaging history and all so that if another person logs in to our app, it will be a fresh session.
In one of the post it says even Invalidate was not working.
Please guide me on this
2024년 3월 21일에 게시됨 · anoop
0
팔로워
1
투표
0
댓글
anoop님이 에 댓글을 입력함
Hi Eric Nelson,
I have created a sample app where you can see the issue. Whats the best way to share it with you?
댓글 보기 · 2022년 5월 24일에 게시됨 · anoop
0
팔로워
0
투표 수
0
댓글
anoop님이 에 댓글을 입력함
Okies which one corresponds to that ? is it this https://github.com/zendesk/ios_sdk_demo_apps/tree/master/ChatSDKSamples ?
댓글 보기 · 2022년 5월 23일에 게시됨 · anoop
0
팔로워
0
투표 수
0
댓글
anoop님이 에 댓글을 입력함
I understand that but my concern is that if I open the modal multiple times why the allocation is increasing even if it is only one session, sdk should ideally reuse the stuffs from an existed session right. For example if I close and open modal 9 times with in the same session I end up seeing 9 chat engines which is alive in the memory why is that so? or am I wrong.
ZDKChatEngine(9)
댓글 보기 · 2022년 5월 20일에 게시됨 · anoop
0
팔로워
0
투표 수
0
댓글
anoop님이 에 게시물을 만듦
Hi,
We are using Chat SDK V2 and we see some memory issues. We are presenting the chat as modal and on dismiss we could see instances of `ChatSDK` being retained. The view is getting destroyed properly.
[Strange I am unable to upload any images from the memory graph] so posting some of the contents... as you can see, if I go to the screen around 10 times, you get those many objects retained.
0. ChatSDK(74)
1. ChatEngineStarter (9)
2. ChatFormHandler(9)
3.ZDKChatEngine(9)
4.ZDKChatFormConfiguration(10)
We are building the UI like this
func buildUI() throws -> UIViewController {
// Name for Bot messages
let messagingConfiguration = MessagingConfiguration()
messagingConfiguration.name = “Bot"
let formConfiguration = ChatFormConfiguration(name: .required, email: .required, phoneNumber: .required, department: .required)
let chatConfiguration = ChatConfiguration()
chatConfiguration.isAgentAvailabilityEnabled = false
chatConfiguration.isPreChatFormEnabled = true
chatConfiguration.chatMenuActions = [.emailTranscript, .endChat]
chatConfiguration.preChatFormConfiguration = formConfiguration
// Build view controller
let chatEngine = try ChatEngine.engine()
return try Messaging.instance.buildUI(engines: [chatEngine], configs: [messagingConfiguration, chatConfiguration])
}
2022년 5월 18일에 편집됨 · anoop
0
팔로워
2
투표 수
12
댓글
anoop님이 에 게시물을 만듦
We are using ChatSDK V2 for our mobile apps, we have the prechat form enabled and what we are seeing is that once a chat session has ended and if the user opens up a new chat, the prechat form is not shown, we want it to be shown in every new session. How can we do that?
2022년 5월 18일에 게시됨 · anoop
0
팔로워
1
투표
0
댓글