Ricerche recenti


Nessuna ricerca recente

anoop's Avatar

anoop

Data ingresso 17 mag 2022

·

Ultima attività 02 dic 2024

Seguiti

0

Follower

0

Attività totali

20

Voti

2

Abbonamenti

5

PANORAMICA ATTIVITÀ

Ultima attività di anoop

anoop ha creato un post,

Post Developer - Zendesk SDKs

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 

Data ultimo post: 02 dic 2024 · anoop

0

Follower

2

Voti

1

Commento


anoop ha creato un post,

Post Developer - Zendesk SDKs

I have seen many posts about the SDK not being able to clear sessions as web widget does. Want to understand this better.,.

https://support.zendesk.com/hc/ko/community/posts/6058378917018-How-do-we-reset-the-messaging-history-based-on-the-session-

https://support.zendesk.com/hc/es/community/posts/4659977184026-iOS-SDK-Reset-Zendesk-Messaging-History-Change-Channel-Key-Programmatically

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

 

Data ultimo post: 21 mar 2024 · anoop

0

Follower

1

Voto

0

Commenti


anoop ha commentato,

Commento nella community Developer - Zendesk SDKs

Hi Eric Nelson

Added the source code to the ticket itself.

-anoop

Visualizza commento · Data ultimo post: 25 mag 2022 · anoop

0

Follower

0

Voti

0

Commenti


anoop ha commentato,

Commento nella community Developer - Zendesk SDKs

Hi Eric Nelson,

Yes that would be fine and let me know the right place to upload.

-anoop

Visualizza commento · Data ultimo post: 25 mag 2022 · anoop

0

Follower

0

Voti

0

Commenti


anoop ha commentato,

Commento nella community Developer - Zendesk SDKs

Hi Eric Nelson,

I have created a sample app where you can see the issue. Whats the best way to share it with you?

Visualizza commento · Data ultimo post: 24 mag 2022 · anoop

0

Follower

0

Voti

0

Commenti


anoop ha commentato,

Commento nella community Developer - Zendesk SDKs

Okies which one corresponds to that ? is it this https://github.com/zendesk/ios_sdk_demo_apps/tree/master/ChatSDKSamples ?

Visualizza commento · Data ultimo post: 23 mag 2022 · anoop

0

Follower

0

Voti

0

Commenti


anoop ha commentato,

Commento nella community Developer - Zendesk SDKs

Okay , I tried that now using the existing navigationcontroller and result is the same.

Visualizza commento · Data ultimo post: 23 mag 2022 · anoop

0

Follower

0

Voti

0

Commenti


anoop ha commentato,

Commento nella community Developer - Zendesk SDKs

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) 

Visualizza commento · Data ultimo post: 20 mag 2022 · anoop

0

Follower

0

Voti

0

Commenti


anoop ha creato un post,

Post Developer - Zendesk SDKs

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])

    }

Data ultima modifica: 18 mag 2022 · anoop

0

Follower

2

Voti

12

Commenti


anoop ha creato un post,

Post Developer - Zendesk SDKs

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?

Data ultimo post: 18 mag 2022 · anoop

0

Follower

1

Voto

0

Commenti