Type Function Return value String or nil
Revision Release 2022.3683 Keywords Amazon, IAP, in-app purchases, getUserId See also store.getUserData() store.*
This function can be called any time after calling store.init() to determine the ID of the currently nil
. If the user is unknown, it will return "unknown"
.
Alternatively, the user ID and additional information can be gathered via the store.getUserData() function and its userData event listener.
store.getUserId()