inactivity get in touch on iOS unified sdk | Community
Skip to main content

inactivity get in touch on iOS unified sdk

  • August 19, 2023
  • 1 reply
  • 0 views

Raphaël14

Hi 

I manage to change the inactivity_get_in_touch_message but I want to change the delay for it, cause it triggers right of the bat . how can i do that ?

 

do {

                    let messagingConfiguration = MessagingConfiguration()

                    

                    messagingConfiguration.name = "test"

                    

                    messagingConfiguration.isMultilineResponseOptionsEnabled = true

                  

                    let answerBotEngine = try AnswerBotEngine.engine()

                    

                    let supportEngine = try SupportEngine.engine()

                    let chatEngine = try ChatEngine.engine()

                    

                    let viewController = try Messaging.instance.buildUI(engines: [answerBotEngine, chatEngine, supportEngine],

                                                            configs: [ZendeskManager.getConfig(),messagingConfiguration])

                    self.navigationController?.pushViewController(viewController, animated: true)

                }

regards

 

Raphaël

1 reply

Greg29
  • August 21, 2023

Hi Raphaël! I don't believe that there is a native way to do this, but I'm assuming that you could do this with some sort of delay in Swift. I don't have a lot of experience programming in Swift, so I can't make any specific suggestions on this...is there any reason that this wouldn't work for you?