Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Robson Junior's Avatar

Robson Junior

Beigetreten 15. Apr. 2021

·

Letzte Aktivität 01. Nov. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

2

Stimmen

0

Abonnement

1

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Robson Junior

Robson Junior hat einen Post erstellt

Post Developer - Zendesk SDKs

Hi!

I am developing an integration with the chat SDK but messages are never sent. The curious thing is that when I send a media file, be it a document or photos, the media file is sent and then immediately the other messages that were in the queue are also sent.

Nothing appers in the log and sometimes the error "Connection Failed" with a button Try again appears.

This error appear only on iOS.

I've checked the appId and the AccountKey, they're correct.

I have internet connection

I'm sending screenshots showing the issue.


 

Xcode version: Version 12.0.1 (12A7300)
Swift 4.

My code:

        Chat.initialize(accountKey: "KEY_ACCOUNT", appId: "MY_APP_ID")

 

    func buildUI() throws -> UIViewController {

        CommonTheme.currentTheme.primaryColor = .black

        let chatConfiguration = ChatConfiguration()

        chatConfiguration.isAgentAvailabilityEnabled = true

        chatConfiguration.isPreChatFormEnabled = false

        

        let chatAPIConfiguration = ChatAPIConfiguration()

        chatAPIConfiguration.department = "Tech"

        chatAPIConfiguration.visitorInfo = VisitorInfo(name: "Robson Cardozo", email: "myemail@email.com", phoneNumber: "+5562000000")

        

        Chat.instance?.configuration = chatAPIConfiguration

        

        // Build view controller

        let chatEngine = try ChatEngine.engine()

        return try Messaging.instance.buildUI(engines: [chatEngine], configs: [chatConfiguration])

    }

    

    private func startChat(result: FlutterResult, controller: FlutterViewController) throws {

        let viewController = try buildUI()

        let button = UIBarButtonItem(title: "Fechar", style: .done, target: self, action: #selector(dismiss))

        viewController.navigationItem.leftBarButtonItem = button

        viewController.navigationItem.title = "Ajuda"




        let chatController = UINavigationController(rootViewController: viewController)




        controller.present(chatController, animated: true)


    }


When i send a text message:

When i send a media.

 

Gepostet 21. Dez. 2020 · Robson Junior

0

Follower

6

Stimmen

15

Kommentare