GithubHelp home page GithubHelp logo

사용자 관리 - 개인 정보 보호 항목에 '카카오계정(이메일)'이 선택되지 않았을 경우 Exception이 발생합니다. about flutter_kakao_login HOT 4 CLOSED

josephnk avatar josephnk commented on August 18, 2024
사용자 관리 - 개인 정보 보호 항목에 '카카오계정(이메일)'이 선택되지 않았을 경우 Exception이 발생합니다.

from flutter_kakao_login.

Comments (4)

JosephNK avatar JosephNK commented on August 18, 2024

@JHK88 확인 해보겠습니다~

from flutter_kakao_login.

JosephNK avatar JosephNK commented on August 18, 2024

@JHK88
수정해서 업데이트 하였습니다.
제가 테스트 할 때는 발생 하지 않았는데.. 혹시나 해서 아래와 같이 수정하였습니다.
확인 부탁 드리겠습니다.
감사합니다.
- fixed getEmail null exception for android.

from flutter_kakao_login.

JosephNK avatar JosephNK commented on August 18, 2024

This issue has no response and closes.

from flutter_kakao_login.

GwonHyeok avatar GwonHyeok commented on August 18, 2024

@JosephNK

이메일 사용 설정을 안했을때 다음과 같이 에러가 여전히 발생 합니다.

java final String userEmail = (resultKakao.getKakaoAccount().getEmail() == null) ? "" : resultKakao.getKakaoAccount().getEmail();

getKakaoAccount() 가 null 이라 에러가 발생합니다.

이해를 돕기 위해 로그켓 내용도 같이 첨부합니다.

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.kakao.usermgmt.response.model.UserAccount.getEmail()' on a null object reference
at com.josephnk.flutterkakaologin.FlutterKakaoLoginPlugin$SessionCallback$1.onSuccess(FlutterKakaoLoginPlugin.java:240)
at com.josephnk.flutterkakaologin.FlutterKakaoLoginPlugin$SessionCallback$1.onSuccess(FlutterKakaoLoginPlugin.java:220)
at com.kakao.network.callback.ResponseCallback.onSuccessForUiThread(ResponseCallback.java:76)
at com.kakao.network.tasks.KakaoResultTask$1$1.run(KakaoResultTask.java:78)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:209)
at android.app.ActivityThread.main(ActivityThread.java:7021)

E/AndroidRuntime(18898): at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:486)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:872)

from flutter_kakao_login.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.