zoho / SalesIQ-Mobilisten-iOS

Your mobile app's ideal live chat partner. Power up your iOS App with the SalesIQ Mobilisten iOS SDK.
https://mobilisten.io
12 stars 4 forks source link

registerVisitor(_ id: String?) not working #9

Closed onursahindur closed 4 years ago

onursahindur commented 4 years ago

Hello,

As suggested in your documentation (the documentation is outdated btw, https://www.zoho.com/salesiq/help/developer-section/ios-mobile-sdk-installation.html it says install version 1.1.0), we have a login mechanism in our app.

After user successfully logged in, I added

if let user = Utils.getSavedUserData() {
    ZohoSalesIQ.registerVisitor(user.email)
}

However, if this register is done, we cannot get any messages on the panel side. If registerVisitor line commented out, the messages are coming to panel, however we cannot identify our users.

Check the images below,

Screen Shot 2020-05-06 at 23 36 40
onursahindur commented 4 years ago

Identified users with setName and setEmail API, found from a deep documentation.

https://www.zoho.com/salesiq/help/developer-section/ios-sdk-visitor-name.html if anyone needs it.