Closed hborisoff closed 1 year ago
Added LPIdentity containing both deviceId and userId, where methods deviceId() and userId() return valid strings for CleverTap.
LPIdentity
deviceId()
userId()
New format:
<CTID=deviceId, Identity=null>
<CTID=deviceId_userIdHash, Identity=userId>
deviceId=deviceIdHash
The userId Hash is generated using the first 10 chars of the userId SHA256 string (hex).
If the deviceId does not pass validation or is longer than 50 characters, we use the first 32 chars of the deviceId SHA256 string (hex).
Added
LPIdentity
containing both deviceId and userId, where methodsdeviceId()
anduserId()
return valid strings for CleverTap.New format:
<CTID=deviceId, Identity=null>
<CTID=deviceId_userIdHash, Identity=userId>
deviceId=deviceIdHash
The userId Hash is generated using the first 10 chars of the userId SHA256 string (hex).
If the deviceId does not pass validation or is longer than 50 characters, we use the first 32 chars of the deviceId SHA256 string (hex).