-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
`
const kakaoLogin = async () => {
try {
await KakaoSDK.init("")
const tokens = await KakaoSDK.login();
console.log("토큰 시작")
console.log(tokens);
const profile = await KakaoSDK.getProfile();
console.log(profile);
if(tokens.access_token) {
return setSns({
type : "kakao",
token : tokens.access_token
});
}
} catch (e) {
console.log("카카오에러 ");
console.log(e);
}
}`
해당코드로 확인하면 토큰발급은 확인되는데 getProfile에서 앱이 꺼져버리는데 혹시 이유를 알 수 있을까요??
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels