Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting userID/userId #59

Open
brascene opened this issue Mar 31, 2017 · 0 comments
Open

Getting userID/userId #59

brascene opened this issue Mar 31, 2017 · 0 comments

Comments

@brascene
Copy link

Hi, there's one thing with getting user's id:

  • Android, I can access it's value from getSessionDetails function by typing sessionDetails.userId
  • iOS, it requires slightly different name: sessionDetails.userID (both capitals ID)

Just in case anyone faces some json string errors on login action, should pay attention on this.
It can easily be changed in /ios/RCTDigitsManager.m, line 127, to be like for Android, or vice versa :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant