Flutter Kakao SDK 사용중 lateinit property redirectUriResult has not been initialized 에러 문의

안녕하세요. runApp() 이전에 카카오 SDK를 초기화하고 있는데 초기화 에러가 발생하고 있습니다.

Kakao flutter sdk 1.2.2 사용중이며, 에러 로그는 아래와 같습니다.

Caused by kotlin.UninitializedPropertyAccessException

lateinit property redirectUriResult has not been initialized

keyboard_arrow_up

arrow_right

com.kakao.sdk.flutter.KakaoFlutterSdkPlugin$Companion.getRedirectUriResult (KakaoFlutterSdkPlugin.kt:34)

com.kakao.sdk.flutter.AuthCodeCustomTabsActivity.onResume (AuthCodeCustomTabsActivity.kt:42)

android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1476)

android.app.Activity.performResume (Activity.java:8441)

android.app.ActivityThread.performResumeActivity (ActivityThread.java:5282)

android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5351)

android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:54)

android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)

android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)

android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)

android.app.ActivityThread$H.handleMessage (ActivityThread.java:2443)

android.os.Handler.dispatchMessage (Handler.java:106)

android.os.Looper.loopOnce (Looper.java:226)

android.os.Looper.loop (Looper.java:313)

android.app.ActivityThread.main (ActivityThread.java:8751)

java.lang.reflect.Method.invoke (Method.java)

com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)

com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)

  • Flutter doctor
    /Users/khkong/development/flutter/bin/flutter doctor --verbose
    ╔════════════════════════════════════════════════════════════════════════════╗
    ║ A new version of Flutter is available! ║
    ║ ║
    ║ To update to the latest version, run “flutter upgrade”. ║
    ╚════════════════════════════════════════════════════════════════════════════╝

[✓] Flutter (Channel stable, 2.8.1, on macOS 12.5.1 21G83 darwin-arm, locale ko-KR)
• Flutter version 2.8.1 at /Users/khkong/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (1 year, 1 month ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/khkong/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
:hammer: https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
:hammer: https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.68.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
:hammer: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.124

• No issues found!

안녕하세요

제보주신 내용은 이전에도 제보들어왔던 내용으로 최신 버전(1.3.1)에는 수정되어있습니다.

내용 확인해보시고 최신 버전으로 업데이트 부탁드리겠습니다.