accountID
as shown in image below :HMAC with SHA256
whenever a user logs into your app. Most web frameworks will have a method or library to help you do this.OpenSSL::HMAC.hexdigest
, where the first parameter is the name of a hash function (we use SHA256
), the second is YOUR_SECRET_KEY
, and the third is your USER_EMAIL
.Keep your secret key safe! Never commit it directly to your repository, client-side code, or anywhere a third party can find it.
setVisitorIdentityFields
which takes identity parameters such as “email” and its value as an argument.setVisitorIdentityFields()
must be called before setAccount: takes place and must pass same email as passed insetVisitorDetails()
.
startSession()
, the AcquireIODelegate
the delegate will receive either didChangeConnectionStatus:
or onError:
setAccount: should be called first before calling above method
showSupport()
, the AcquireIODelegate
delegate will receive either didChangeConnectionStatus:
or onError:
setAccount: should be called first before calling above method
Pass nil values for both name and email to clear out old existing values.
Pass nil values for both name and email to clear out old existing values.
logoutVisitor()
to remove all acquire data from your app related to visitorHash
. To logout
from AcquireIOSupport, calling below method is mandatary:string
Int
.[NSNumber]
.