最近搜索


没有最近搜索

Johann (Domyos E Connected)'s Avatar

Johann (Domyos E Connected)

已加入2024年6月19日

·

最后活动2024年6月19日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Johann (Domyos E Connected)

Johann (Domyos E Connected) 创建了一个帖子,

帖子 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 !

 

已于 2024年6月19日 发布 · Johann (Domyos E Connected)

0

关注者

2

投票

1

Comment