Recherches récentes


Pas de recherche récente

anoop's Avatar

anoop

Adhésion le 17 mai 2022

·

Dernière activité le 02 déc. 2024

Suivis

0

Abonnés

0

Activité totale

20

Votes

2

Abonnements

5

APERÇU DES ACTIVITÉS

Dernière activité effectuée par anoop

anoop a créé une publication,

Publication 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 

Publication le 02 déc. 2024 · anoop

0

Abonnés

2

Votes

1

Commentaire


anoop a créé une publication,

Publication 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

 

Publication le 21 mars 2024 · anoop

0

Abonnés

1

vote

0

Commentaire


anoop a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Hi Eric Nelson

Added the source code to the ticket itself.

-anoop

Afficher le commentaire · Publication le 25 mai 2022 · anoop

0

Abonnés

0

Votes

0

Commentaire


anoop a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Hi Eric Nelson,

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

-anoop

Afficher le commentaire · Publication le 25 mai 2022 · anoop

0

Abonnés

0

Votes

0

Commentaire


anoop a ajouté un commentaire,

Commentaire de la communauté 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?

Afficher le commentaire · Publication le 24 mai 2022 · anoop

0

Abonnés

0

Votes

0

Commentaire


anoop a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

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

Afficher le commentaire · Publication le 23 mai 2022 · anoop

0

Abonnés

0

Votes

0

Commentaire


anoop a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

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

Afficher le commentaire · Publication le 23 mai 2022 · anoop

0

Abonnés

0

Votes

0

Commentaire


anoop a ajouté un commentaire,

Commentaire de la communauté 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) 

Afficher le commentaire · Publication le 20 mai 2022 · anoop

0

Abonnés

0

Votes

0

Commentaire


anoop a créé une publication,

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

    }

Modification le 18 mai 2022 · anoop

0

Abonnés

2

Votes

12

Commentaires


anoop a créé une publication,

Publication 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?

Publication le 18 mai 2022 · anoop

0

Abonnés

1

vote

0

Commentaire