You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data returned by me() does not match the structure of the KakaoUser interface. The fields in the UserInfo type are different, and certain fields are missing or have different names. This inconsistency is causing issues with type safety and leads to confusion when handling the user data.
Request:
Please either:
Adjust the return type of the me() function to match the KakaoUser interface for both web and app logins.
Or, modify the type definitions to support both structures (WebUserInfo and KakaoUser) consistently.
This discrepancy is causing issues with type safety and leads to confusion when handling the user data, especially when dealing with both web and app login flows.
Relevant a package.json.
No response
Relevant log output
No response
Reproducible Sample Repository
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Name, Version of @react-native-kakao/*
user, v2.2.6
Version of react-native
0.74.5
What os are you seeing the problem on?
Web
What device types are you seeing the problem on?
Physcial Device
What architecture types of react native are you seeing the problem on?
New Architecture(Fabric)
Version of device(android API, iOS OS version, etc...)
No response
Expo App
What happened?
Problem Description
The
me()
function returns a type that is different from the expected one as defined in the interface. Below is the detailed information:Returned Type from
me()
(Web Login):The actual data returned by the
me()
function from the web login is of the following structure:Expected Type from
me()
:The expected return type for
me()
is defined in the KakaoUser interface:Problem:
The data returned by
me()
does not match the structure of theKakaoUser
interface. The fields in theUserInfo
type are different, and certain fields are missing or have different names. This inconsistency is causing issues with type safety and leads to confusion when handling the user data.Request:
Please either:
me()
function to match theKakaoUser
interface for both web and app logins.WebUserInfo
andKakaoUser
) consistently.This discrepancy is causing issues with type safety and leads to confusion when handling the user data, especially when dealing with both web and app login flows.
Relevant a package.json.
No response
Relevant log output
No response
Reproducible Sample Repository
Code of Conduct
The text was updated successfully, but these errors were encountered: