Closed hideokamoto closed 5 years ago
:+1:
Hi @hideokamoto
The code looks good. Before I merge it in, could you please modify the commit name to "feat: add getUserId util function", In order to fit conventional commits structure.
Thanks, Shen
I've rebased my commits.
Hi, @hideokamoto
Thanks for the PR! Merging this in. It will be included in the next SDK release.
Regards, Shen
We can get user id from the SDK.
Description
Add the
getUserId
function into the utils. We can get the user id more easier.Motivation and Context
Now we can get the requested user's device id by the SDK. But we want to get the user id too.
Before
Our code will be too long line :(
After
It is the simplest way to get the user ID :)
Testing
To run unit test by gulp.
Screenshots (if appropriate)
Types of changes
Checklist
License