Recent searches
No recent searches

anoop
Joined May 17, 2022
·
Last activity Dec 02, 2024
Following
0
Followers
0
Total activity
20
Votes
2
Subscriptions
5
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by anoop
anoop created a post,
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
Posted Dec 02, 2024 · anoop
0
Followers
2
Votes
1
Comment
anoop created a post,
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
Posted Mar 21, 2024 · anoop
0
Followers
1
Vote
0
Comments
anoop commented,
View comment · Posted May 25, 2022 · anoop
0
Followers
0
Votes
0
Comments
anoop commented,
View comment · Posted May 25, 2022 · anoop
0
Followers
0
Votes
0
Comments
anoop commented,
Hi Eric Nelson,
I have created a sample app where you can see the issue. Whats the best way to share it with you?
View comment · Posted May 24, 2022 · anoop
0
Followers
0
Votes
0
Comments
anoop commented,
Okies which one corresponds to that ? is it this https://github.com/zendesk/ios_sdk_demo_apps/tree/master/ChatSDKSamples ?
View comment · Posted May 23, 2022 · anoop
0
Followers
0
Votes
0
Comments
anoop commented,
Okay , I tried that now using the existing navigationcontroller and result is the same.
View comment · Posted May 23, 2022 · anoop
0
Followers
0
Votes
0
Comments
anoop commented,
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)
View comment · Posted May 20, 2022 · anoop
0
Followers
0
Votes
0
Comments
anoop created a post,
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])
}
Edited May 18, 2022 · anoop
0
Followers
2
Votes
12
Comments
anoop created a post,
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?
Posted May 18, 2022 · anoop
0
Followers
1
Vote
0
Comments