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

KG 이니시스 본인인증 관련 이슈 #103

Open
nohhyemin08 opened this issue Apr 25, 2023 · 1 comment
Open

KG 이니시스 본인인증 관련 이슈 #103

nohhyemin08 opened this issue Apr 25, 2023 · 1 comment

Comments

@nohhyemin08
Copy link

샘플코드의

Navigator.pushReplacementNamed(
context,
'/result',
arguments: result,
);
를 사용하여 result 로 이동하려 하면 화면이 뜨지 않고

E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): Failed to handle method call result
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): java.lang.IllegalStateException: navigationRequest calls must succeed
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at kr.iamport.iamport_webview_flutter.FlutterWebViewClient$OnNavigationRequestResult.error(FlutterWebViewClient.java:301)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at io.flutter.plugin.common.MethodChannel$IncomingResultHandler.reply(MethodChannel.java:237)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at io.flutter.embedding.engine.dart.DartMessenger.handlePlatformMessageResponse(DartMessenger.java:380)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessageResponse(FlutterJNI.java:1003)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at android.os.MessageQueue.next(MessageQueue.java:335)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at android.os.Looper.loopOnce(Looper.java:186)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at android.os.Looper.loop(Looper.java:313)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at android.app.ActivityThread.main(ActivityThread.java:8757)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
E/MethodChannel#plugins.flutter.io/imp_webview_0( 9503): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

해당 에러가 발생합니다.

혹시 Navigator.pushReplacementNamed 말고 Get.to(() => const Result(), arguments: result) 를 사용하여 이동하여도 괜찮은지 궁금합니다.

@anymate98
Copy link
Contributor

예제에서는 이미 Get을 사용해 돌아가는 방식을 시연하고 있습니다. 돌아가는 방법은 어떠한 것을 쓰셔도 무방할 듯 합니다.

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

2 participants