Pesquisas recentes


Sem pesquisas recentes

Johann (Domyos E Connected)'s Avatar

Johann (Domyos E Connected)

Entrou em 19 de jun. de 2024

·

Última atividade em 19 de jun. de 2024

Seguindo

0

Seguidores

0

Atividade total

2

Votos

0

Assinatura

1

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Johann (Domyos E Connected)

Johann (Domyos E Connected) criou uma publicação,

Publicação Q&A - Apps and integrations

Hello,

I work on Zendesk  SDK integration in my iOS app.

We are using anonymous identity to open a ticlet with both user mail and user name:

Zendesk.instance?.setIdentity(Identity.createAnonymous(name: name, email: email) 

We are using the SDK to create a ticket:

func createRequest(completion: (Error?)->Void) {

        let request = ZDKCreateRequest()

        request.subject = "this is a test"

        request.requestDescription = "Please delete this request"

        requestProvider.createRequest(request) { (result, error) in

            completion(error)

        }

    } 

When we retrieve the number of tickets just after creation, we call:

requestProvider.getAllRequests { (list, error) in

            print(list)

        }

list contains 1 element.

 

The issue is when we call “getAllRequests” after killing the app: list is empty then.

We used to use Messenging tool successfully for another purpose, the request count worked even if the app was killed between a request creation and a getAllRequests call.

Did we forget something ? Do you use a king of cookie to keep information through 2 app launches ?

 

Thanks !

 

Publicado 19 de jun. de 2024 · Johann (Domyos E Connected)

0

Seguidores

2

Votos

1

Comentário