getUserId
@microblink/blinkid-core / getUserId
Function: getUserId()
getUserId():
string
Gets the user id from local storage, or generates a new one.
This is a workaround for the lack of a user id in the worker scope.
Returns
string
a unique user id