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

작업을 완료할 수 없습니다.(KakaoSDKCommon.SdkError 오류 2.) 에러 원인 문의 #406

Open
tony-yun opened this issue Apr 30, 2024 · 0 comments

Comments

@tony-yun
Copy link

Description

react-native 에서 사용 중인 @react-native-seoul/kakao-login 에 관한 질문입니다.

에러 트레킹으로 접수된 정보에 따르면 일부 유저한테서: “작업을 완료할 수 없습니다.(KakaoSDKCommon.SdkError 오류 2.)” 에러 메시지가 접수되고 있습니다.

에러가 재연이 되지 않아 정확한 원인을 파악하기 어려워 문의를 남깁니다.
참고로: “작업을 완료할 수 없습니다.(KakaoSDKCommon.SdkError 오류 0.)” 는 사용자가 카카오 로그인을 실행하고 진행하지 않은 상태에서 로그인을 의도적으로 취소했을 시 재연이 되었습니다.

구현 코드:

    try {
      ...

      const accessToken = await kakaoAuth()
      ...
    catch {
       // 에러 트레킹 됨.
    }
export const kakaoAuth = async () => {
  try {
    const kakaoRes = await KakaoLogin()

    ...

    return kakaoRes.accessToken
  } catch (err) {
    throw err
  }
}

에러는 ios 플랫폼에서만 발생합니다.
유저의 흐름은: handlePressKakaoLogin → Scene Will Deactivate → Scene Entered Background → App Did Enter Background → Scene Will Enter Foreground → App Will Enter Foreground → Window Became Visible → Window Became Visible → Error Occurred

Steps to reproduce

에러 재연이 안됩니다.

Snack or a link to a repository

company-project

React Native Kakao Login version

5.3.1

React Native version

0.73.5

Platforms

iOS

JavaScript runtime

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

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