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

Add birthday and gender to IProfile #148

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

hiphapis
Copy link
Contributor

@hiphapis hiphapis commented Jul 15, 2020

Related https://github.com/react-native-seoul/react-native-kakao-login/pull/102/files

getProfile 붙이다보니, IProfile에 birthday와 gender 없는걸 발견해서 요 부분 추가한것입니다.
gender 같은 경우 리터럴로 타입을 선언할까 하다가.. 카카오 공식 문서랑 넘겨온 값이 달라서 걍 string 으로 했습니다.
https://developers.kakao.com/docs/latest/ko/user-mgmt/common#gender
여기선 소문자로 male/female 이라고 적혀있지만
제가 받은 값은 MALE 이었거든요.

@heyman333
Copy link
Contributor

@hiphapis 감사합니다👍

@heyman333 heyman333 merged commit ed46a5d into crossplatformkorea:master Jul 16, 2020
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

Successfully merging this pull request may close these issues.

2 participants