1v -> v2 마이그레이션 작업중입니다. 카카오톡 설치 + 로그인 X 경우 로그인이 되지 않습니다

------------현상설명------------

안녕하세요. 최근 Kakao sdk 1v → 2v로 마이그레이션 하는 작업을 하고 있습니다.
현재 Android에서 일부 시나리오에서 로그인이 안되는 경우가 있어서 문의드립니다.

    • 카카오톡이 설치가 되어 있고 >
    • 저희 kakao sdk 를 통해서 카카오톡 로그인을 시도하다가 취소하고 >
    • 다시 kakao sdk 를 통해서 카카오 로그인 시도 했을 시

이 때, 카카오 로그인 화면이 뜨지않는 게 현상입니다.

------------관련현상------------
관련된 현상을 좀 더 설명을 드릴게요.

[카카오톡앱 캐시 삭제하면]
카카오톡앱 캐시 삭제하면, 다시 kakao sdk 를 통해서 로그인이 가능해집니다. 하지만 중간에 취소하면, 다시 로그인이 안됩니다.

[로컬에서 테스트를 하면]
로컬에서 테스트를 하면,

KakaoTalk is installed but not connected to Kakao account.

에러가 뱉어집니다.
https://developers.kakao.com/docs/latest/ko/kakaologin/android#request-code-terms
위 코드에서 if(error != null) 부분에서 떨어집니다.
하지만 저희가 AppCenter 를 통해서 릴리즈 앱 빌드를 뽑고 있는데요. 이 빌드 결과물에서는 에러가 따로 보이지 않습니다.

------------오류------------

해결하기 어려운 이유중에 하나가 눈에 띄는 오류가 안보입니다,
그나마 로그 중에서 눈여겨 보고 있는 건

E/BufferQueueProducer: [com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_22686#0](id:26d00001072,api:0,p:-1,c:621) disconnect: not connected (req=1)

android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067 SQLITE_CONSTRAINT_UNIQUE[2067])

를 기반으로 찾아보고 있는데요, 아직까진 뾰족한 수는 못찾았습니다.

------------[전체 로그]------------
kakao sdk 의 loginWithKakaoTalk 을 실행 했을 때, 나오는 로그 중 kakao 라는 키워드로 검색한 로그입니다. 전체 로그는 요청 주실때 전달 드릴 수 있도록 하겠습니다.

2023-02-17 11:31:51.895 979-3589/? I/ActivityTaskManager: START u0 {cmp=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity (has extras)} from uid 10500
2023-02-17 11:31:51.895 979-3589/? D/ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity display-area-from-source=DefaultTaskDisplayArea@58127435 task-display-area=DefaultTaskDisplayArea@58127435 display-area-windowing-mode=1
2023-02-17 11:31:51.896 979-3589/? D/ActivityTaskManager: TaskLaunchParamsModifier:task=Task{21abfc1 #2345 visible=false type=standard mode=fullscreen translucent=true A=10500:com.chbreeze.jikbang4a.dev U=0 StackId=2345 sz=1} activity=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t-1} display-from-task=0 task-display-area=DefaultTaskDisplayArea@58127435 display-area-windowing-mode=1 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display maximized-bounds
2023-02-17 11:31:51.896 621-1962/? I/SurfaceFlinger: id=32306 createSurf (0x0),-1 flag=80004, ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345}#0
2023-02-17 11:31:51.900 979-3589/? D/SurfaceControl: hide : mNativeObject = 538067313232 - sc.mNativeObject = 537530452656 - Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368
2023-02-17 11:31:51.900 979-3589/? D/SurfaceControl: nativeSetFlags Done : Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368
2023-02-17 11:31:51.921 979-1161/? D/GameManagerService: onLooperPrepared(), msg: MSG_APP_RESUME, resumeComponent: ComponentInfo{com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity}
2023-02-17 11:31:51.924 979-3566/? I/ActivityTaskManager: START u0 {act=com.kakao.talk.intent.action.CAPRI_LOGGED_IN_ACTIVITY cat=[android.intent.category.DEFAULT] cmp=com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity (has extras)} from uid 10500
2023-02-17 11:31:51.924 979-3566/? D/ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity display-area-from-source=DefaultTaskDisplayArea@58127435 task-display-area=DefaultTaskDisplayArea@58127435 display-area-windowing-mode=1
2023-02-17 11:31:51.924 979-3566/? D/ActivityTaskManager: TaskLaunchParamsModifier:task=Task{21abfc1 #2345 visible=false type=standard mode=fullscreen translucent=true A=10500:com.chbreeze.jikbang4a.dev U=0 StackId=2345 sz=2} activity=ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t-1} display-from-task=0 task-display-area=DefaultTaskDisplayArea@58127435 display-area-windowing-mode=1 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display maximized-bounds
2023-02-17 11:31:51.925 621-1962/? I/SurfaceFlinger: id=32307 createSurf (0x0),-1 flag=80004, ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345}#0
2023-02-17 11:31:51.928 979-3566/? D/SurfaceControl: hide : mNativeObject = 538067313232 - sc.mNativeObject = 537530316464 - Surface(name=ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345})/@0xf35c075
2023-02-17 11:31:51.928 979-3566/? D/SurfaceControl: nativeSetFlags Done : Surface(name=ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345})/@0xf35c075
2023-02-17 11:31:51.934 621-1962/? I/SurfaceFlinger: id=32308 createSurf (0x0),-1 flag=80004, c2eeef1 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity#0
2023-02-17 11:31:51.939 979-1119/? V/WindowManager: Relayout Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity}: viewVisibility=0 req=1080x2280
2023-02-17 11:31:51.941 621-1962/? I/SurfaceFlinger: id=32309 createSurf (1080x2280),1 flag=4, com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400#0
2023-02-17 11:31:51.942 979-1119/? D/WindowManager: makeSurface duration=2 name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$28400
2023-02-17 11:31:51.943 979-1119/? V/WindowManager: Changing focus from null to Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:566 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6254 com.android.server.wm.WindowManagerService.relayoutWindow:2697 com.android.server.wm.Session.relayout:217
2023-02-17 11:31:51.945 979-1007/? D/WindowManager: setDisableFlags: displayId=0, vis=0x8008, appearance=16, transientState=Pair{[I@ace25e0 [I@4909099}, isFullscreen=false, isImmersive=false, barType=0, win=Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} 2023-02-17 11:31:51.946 979-1119/? I/SurfaceControl: release : mNativeObject = 537530364064 - Surface(name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400)/@0x61fc00c 2023-02-17 11:31:51.952 979-1001/? D/WindowManager: finishDrawingWindow: Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} mDrawState=DRAW_PENDING 2023-02-17 11:31:51.954 979-1010/? D/PkgPredictorService: pkg:com.chbreeze.jikbang4a.dev activity:com.kakao.sdk.auth.TalkAuthCodeActivity thisTime:59 2023-02-17 11:31:51.956 979-1001/? D/MARsPolicyManager: onPackageResumedFG pkgName = com.kakao.talk, userId = 0 2023-02-17 11:31:51.957 979-1001/? D/PkgDataHelper: notifyAppCreate(), pkgName: com.kakao.talk, sendRet: true 2023-02-17 11:31:51.957 979-1161/? D/GameManagerService: onLooperPrepared(), msg: MSG_APP_CREATE, pkgName: com.kakao.talk 2023-02-17 11:31:51.958 979-1001/? V/WindowManager: Changing focus from Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:566 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6254 com.android.server.wm.DisplayContent.setFocusedApp:6699 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:6669 2023-02-17 11:31:51.960 979-1001/? D/MARsPolicyManager: onPackageResumedFG pkgName = com.kakao.talk, userId = 0 2023-02-17 11:31:51.962 979-1009/? V/ActivityManager: Changed top to 10497,ProcessRecord{4751c2 11948:com.kakao.talk/u0a497} 2023-02-17 11:31:51.967 979-1248/? D/PkgPredictorService: com.kakao.talk go to foreground! 2023-02-17 11:31:51.967 979-1248/? D/PkgPredictorService: previous pkgs: com.kakao.talk,com.kakao.talk,com.kakao.talk running pkg: com.kakao.talk, uid: 0 is system: false 2023-02-17 11:31:51.967 979-1248/? D/PkgPredictorService-Collector: save record… (hour:11 day:6 previous:[com.kakao.talk, com.kakao.talk, com.kakao.talk] activityName:unknown running:com.kakao.talk userId:0 screenOrientation:0 wifi:1 bt:1 predictTime:0 apkVersion:10.0.7 consumeTime:-1 preloaded:false>)
2023-02-17 11:31:51.967 979-1248/? D/PkgPredictorService-NapPreloadController: User using: com.kakao.talk
2023-02-17 11:31:51.967 979-1248/? D/PkgPredictorService-NapClassifier: Predict result: 18.0,11.0,37.0,7.0,-1.0,-1.0,-1.0,-1.0,-1.0, - [0
&com.kakao.talk, 0&com.chbreeze.jikbang4a.dev, 0&com.reactkakao.example, 0&_com.chbreeze.jikbang4a]
2023-02-17 11:31:51.972 979-1009/? D/GameManagerService: noteResumeComponent(), received resumed-component: com.kakao.talk
2023-02-17 11:31:51.972 979-1009/? D/SemGameManager: isGamePackage(), pkgName=com.kakao.talk
2023-02-17 11:31:51.973 979-1009/? D/GameManagerService: identifyGamePackage. com.kakao.talk, mCurrentUserId: 0, callerUserId: 0
2023-02-17 11:31:51.973 979-1009/? D/PkgDataHelper: getGamePkgData(). com.kakao.talk
2023-02-17 11:31:51.974 979-1009/? I/GameSDK@LifeCycle: noteResumeComponent(): package name : com.kakao.talk
2023-02-17 11:31:51.974 979-1009/? D/GameManagerService: identifyGamePackage. com.kakao.talk, mCurrentUserId: 0, callerUserId: 0
2023-02-17 11:31:51.974 979-1009/? D/PkgDataHelper: getGamePkgData(). com.kakao.talk
2023-02-17 11:31:51.975 979-1007/? D/SehCodecSolutionService: Update top [com.kakao.talk]
2023-02-17 11:31:51.986 979-1001/? V/WindowManager: Changing focus from null to Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:566 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6254 com.android.server.wm.DisplayContent.setFocusedApp:6699 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:6669
2023-02-17 11:31:51.987 979-1007/? D/WindowManager: setDisableFlags: displayId=0, vis=0x8008, appearance=16, transientState=Pair{[I@a9bded4 [I@e3aa87d}, isFullscreen=false, isImmersive=false, barType=0, win=Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} 2023-02-17 11:31:51.998 621-621/? D/SurfaceFlinger: Display 0 HWC layers: DEVICE | 0x7dcd1fe0f0 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.chbreeze.jikbang4a.dev/com.chbreeze.jikbang4a.MainActivity$_28400#0 DEVICE | 0x7dcd1fc050 | 0000 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400#0 DEVICE | 0x7dcd1f3ef0 | 0000 | RGBA_8888 | 0.0 0.0 1080.0 107.0 | 0 0 1080 107 | StatusBar$_1338#0 DEVICE | 0x7dcd1fec30 | 0000 | RGBA_8888 | 0.0 0.0 67.0 343.0 | 0 457 67 800 | com.samsung.android.app.cocktailbars[…]arservice.CocktailBarService$_6614#0
DEVICE | 0x7dcd1eba30 | 0000 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | NavigationBar0$_1338#0
2023-02-17 11:31:52.000 979-1007/? D/WindowManager: setDisableFlags: displayId=0, vis=0x8008, appearance=16, transientState=Pair{[I@53c4aa5 [I@a083e7a}, isFullscreen=false, isImmersive=false, barType=0, win=Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} 2023-02-17 11:31:52.003 979-1009/? D/GameManagerService: notePauseComponent(), received paused-component: com.kakao.talk 2023-02-17 11:31:52.004 979-1119/? V/WindowManager: Changing focus from Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} to Window{67e1994 u0 com.chbreeze.jikbang4a.dev/com.chbreeze.jikbang4a.MainActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:566 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6254 com.android.server.wm.DisplayContent.setFocusedApp:6699 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:6669 2023-02-17 11:31:52.008 979-1119/? I/WindowManager: Reparenting to leash, surface=Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368, leashParent=Surface(name=Task=2345)/@0xb0d6649 2023-02-17 11:31:52.008 621-1962/? I/SurfaceFlinger: id=32318 createSurf (0x0),-1 flag=24000, Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-leash#0 2023-02-17 11:31:52.009 979-1119/? D/WindowManager: makeSurface duration=0 leash=Surface(name=Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-leash)/@0xa5a295d 2023-02-17 11:31:52.009 621-1962/? I/SurfaceFlinger: id=32319 createSurf (0x0),-1 flag=80004, Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-bounds#0 2023-02-17 11:31:52.023 28400-28400/? I/SurfaceControl: release : mNativeObject = 537531488208 - Surface(name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400)/@0xab4c6e5 2023-02-17 11:31:52.023 979-1161/? D/GameManagerService: onLooperPrepared(), msg: MSG_APP_RESUME, resumeComponent: ComponentInfo{com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity} 2023-02-17 11:31:52.034 621-634/? E/BufferQueueProducer: [com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400#0](id:26d0000108f,api:0,p:-1,c:621) disconnect: not connected (req=1)
2023-02-17 11:31:52.035 979-3589/? V/WindowManager: removeIfPossible 2, Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity}: mAnimatingExit=true caller=com.android.server.wm.WindowState.removeIfPossible:2656 com.android.server.wm.WindowManagerService.removeWindow:2170 com.android.server.wm.Session.remove:197 android.view.IWindowSession$Stub.onTransact:798 com.android.server.wm.Session.onTransact:143
2023-02-17 11:31:52.039 979-3589/? I/ActivityTaskManager: Removing activity ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345 f}}(activityDestroyed) from stack callers=com.android.server.wm.ActivityRecord.destroyed:3542 com.android.server.wm.ActivityTaskManagerService.activityDestroyed:2611 android.app.IActivityTaskManager$Stub.onTransact:2210 android.os.Binder.execTransactInternal:1195 android.os.Binder.execTransact:1159
2023-02-17 11:31:52.052 979-1119/? I/ActivityTaskManager: Removing activity ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345 f}}(activityDestroyed) from stack callers=com.android.server.wm.ActivityRecord.destroyed:3542 com.android.server.wm.ActivityTaskManagerService.activityDestroyed:2611 android.app.IActivityTaskManager$Stub.onTransact:2210 android.os.Binder.execTransactInternal:1195 android.os.Binder.execTransact:1159
2023-02-17 11:31:52.052 979-1119/? I/SurfaceControl: release : mNativeObject = 537530316464 - Surface(name=ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345})/@0xf35c075
2023-02-17 11:31:52.063 621-1962/? I/Layer: id=32307 removeFromCurrentState ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345}#0 (70)
2023-02-17 11:31:52.064 621-1962/? I/SurfaceFlinger: id=32307 Removed ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345}#0 (70)
2023-02-17 11:31:52.080 621-621/? I/Layer: id=32307[1] Destroyed ActivityRecord{ee4fbac u0 com.kakao.talk/com.kakao.sdk.CapriLoggedInActivity t2345}#0
2023-02-17 11:31:52.097 979-1010/? I/WindowManager: Reparenting to original parent: Surface(name=Task=2345)/@0xb0d6649, destroy=true, surface=Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368
2023-02-17 11:31:52.097 979-1010/? I/SurfaceControl: release : mNativeObject = 537530557264 - Surface(name=Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-leash)/@0xa5a295d
2023-02-17 11:31:52.097 979-1010/? I/SurfaceControl: release : mNativeObject = 537530257104 - Surface(name=Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-bounds)/@0xfce0f01
2023-02-17 11:31:52.097 979-1010/? V/WindowManager: Setting visibility of Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity EXITING}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1017 com.android.server.wm.ActivityRecord.setClientVisible:6318 com.android.server.wm.ActivityRecord.onAnimationFinished:7070 com.android.server.wm.-$$Lambda$dwJG8BAnLlvKNGuDY9U3-haNY4M.onAnimationFinished:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0$SurfaceAnimator:112
2023-02-17 11:31:52.098 979-1010/? D/SurfaceControl: hide : mNativeObject = 538067313232 - sc.mNativeObject = 537530279616 - Surface(name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400)/@0xf14e1a6
2023-02-17 11:31:52.098 979-1010/? D/SurfaceControl: nativeSetFlags Done : Surface(name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400)/@0xf14e1a6
2023-02-17 11:31:52.098 979-1010/? E/WindowManager: win=Window{c2eeef1 u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5174 com.android.server.wm.ActivityRecord.destroySurfaces:5155 com.android.server.wm.WindowState.onExitAnimationDone:5570 com.android.server.wm.-$$Lambda$01bPtngJg5AqEoOWfW3rWfV7MH4.accept:2 java.util.ArrayList.forEach:1262 com.android.server.wm.ActivityRecord.onAnimationFinished:7089 com.android.server.wm.-$$Lambda$dwJG8BAnLlvKNGuDY9U3-haNY4M.onAnimationFinished:2
2023-02-17 11:31:52.098 979-1010/? I/WindowManager: Destroying surface Surface(name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400)/@0xf14e1a6 called by com.android.server.wm.WindowStateAnimator.destroySurface:1794 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:765 com.android.server.wm.WindowState.destroySurfaceUnchecked:3870 com.android.server.wm.WindowState.destroySurface:3844 com.android.server.wm.ActivityRecord.destroySurfaces:5174 com.android.server.wm.ActivityRecord.destroySurfaces:5155 com.android.server.wm.WindowState.onExitAnimationDone:5570 com.android.server.wm.-$$Lambda$01bPtngJg5AqEoOWfW3rWfV7MH4.accept:2
2023-02-17 11:31:52.098 979-1010/? I/SurfaceControl: release : mNativeObject = 537530279616 - Surface(name=com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400)/@0xf14e1a6
2023-02-17 11:31:52.098 621-963/? I/Layer: id=32309 removeFromCurrentState com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400#0 (69)
2023-02-17 11:31:52.099 979-1010/? I/SurfaceControl: release : mNativeObject = 537530386912 - Surface(name=c2eeef1 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity)/@0x508d7e7
2023-02-17 11:31:52.099 979-1010/? D/SurfaceControl: hide : mNativeObject = 538067313232 - sc.mNativeObject = 537530452656 - Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368
2023-02-17 11:31:52.099 979-1010/? D/SurfaceControl: nativeSetFlags Done : Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368
2023-02-17 11:31:52.099 621-963/? I/Layer: id=32318 removeFromCurrentState Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-leash#0 (69)
2023-02-17 11:31:52.100 621-963/? I/Layer: id=32319 removeFromCurrentState Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-bounds#0 (69)
2023-02-17 11:31:52.100 621-963/? I/Layer: id=32308 removeFromCurrentState c2eeef1 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity#0 (69)
2023-02-17 11:31:52.100 979-1010/? I/SurfaceControl: release : mNativeObject = 537530452656 - Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368
2023-02-17 11:31:52.100 621-4222/? I/SurfaceFlinger: id=32318 Removed Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-leash#0 (69)
2023-02-17 11:31:52.100 621-4222/? I/SurfaceFlinger: id=32319 Removed Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-bounds#0 (69)
2023-02-17 11:31:52.100 621-4222/? I/SurfaceFlinger: id=32308 Removed c2eeef1 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity#0 (69)
2023-02-17 11:31:52.100 621-4222/? I/SurfaceFlinger: id=32309 Removed com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400#0 (69)
2023-02-17 11:31:52.101 621-4222/? I/Layer: id=32306 removeFromCurrentState ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345}#0 (69)
2023-02-17 11:31:52.102 621-4222/? I/SurfaceFlinger: id=32306 Removed ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345}#0 (69)
2023-02-17 11:31:52.113 621-621/? I/Layer: id=32319[1] Destroyed Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-bounds#0
2023-02-17 11:31:52.114 621-621/? I/Layer: id=32318[1] Destroyed Surface(name=ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345})/@0xc291368 - animation-leash#0
2023-02-17 11:31:52.114 621-621/? I/Layer: id=32306[1] Destroyed ActivityRecord{3a4c68b u0 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity t2345}#0
2023-02-17 11:31:52.114 621-621/? I/Layer: id=32308[1] Destroyed c2eeef1 com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity#0
2023-02-17 11:31:52.116 621-621/? I/Layer: id=32309[1] Destroyed com.chbreeze.jikbang4a.dev/com.kakao.sdk.auth.TalkAuthCodeActivity$_28400#0

안녕하세요.

카카오톡이 설치되어 있지만 로그인이 되지 않은 경우 카카오톡으로 인증은 진행하실 수 없습니다.
톡앱의 권한에 따라 말씀처럼 톡에서 반응이 없을수도 있습니다.

아쉽지만, 로그인된 톡에서 테스트 진행 부탁드립니다.

답변 감사합니다.
답변해주신것에 대해 추가 질문이 있는데요

v1 에서는 카카오톡이 설치되어 있지 않지만 로그인이 되어있지 않은 경우도
카카오톡 로그인 화면이 열리던데,

v2 에서는 스펙이 달라진건가요?

아무래도 제가 로그인이 되지 않는다고 해서,
이해하시는데 방해가 된거 같은데요.

위와 같은 경우에
카카오톡의 로그인 화면이 뜨는게 정상적인거 같은데,
카카오 로그인 화면 조차 뜨지 않습니다.

반대로 iOS 는 정상 동작 합니다.

답변과 별개로

KakaoTalk is installed but not connected to Kakao account.

에러가 발생할 때는

  • 토스트를 띄운다
  • loginWithKakaoAccount() 메서드를 호출해서, 카카오계정으로 로그인 하도록 한다

둘 중 하나의 방법으로 해결하고자 합니다.
혹시 더 좋은 방법이 있다면 조언 부탁드릴게요 : )

1개의 좋아요

톡 버전, 디바이스 환경에 따라 톡이 열릴수도 아닐수도 있습니다.

톡 로그인이 안된 상황을 가정하고 개발하시는 경우 말씀 처럼 해당 오류 발견 시, 계정로그인 기능을 호출하여 처리하도록 안내 드리고 있습니다.