-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
iOS crash NSInternalInconsistencyException - Completion handler passed to was not called #1449
Comments
👋 @ninoid NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
Are you using the |
I have tried version 6.0.0-beta.19 and issue still exists |
Please provide enough information to replicate the issue, an example code, or something, otherwise, I can't help you. |
Flutter version 3.13.8 1 13 18 28 |
Flutter version 3.3.9
Plugin version 5.7.2
iOS version 16.1.1
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Completion handler passed to -[flutter_inappwebview.InAppWebView webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:] was not called'
Attempt to present <UIAlertController: 0x10417a600> on <FlutterViewController: 0x103820c00> (from <FlutterViewController: 0x103820c00>) which is already presenting <_UIDatePickerContainerViewController: 0x1334045a0>.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Completion handler passed to -[flutter_inappwebview.InAppWebView webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:] was not called'
*** First throw call stack:
(0x1c4835e88 0x1bdb638d8 0x1c4925c58 0x1d72e4414 0x1d73822e0 0x1d7539d84 0x211888124 0x211887d54 0x102d82354 0x1bea4b134 0x102d821e0 0x1bea4b134 0x102d854fc 0x211888124 0x211887d54 0x1c6dd7734 0x1c6dd761c 0x1bdb4d5d8 0x1bdb50f80 0x1c48fa35c 0x1c48b69d8 0x1c485a598 0x1c48a7fcc 0x1c48aced4 0x1fdbaa368 0x1c6d8b3d0 0x1c6d8b034 0x1023c8564 0x1e2f14960)
libc++abi: terminating with uncaught exception of type NSException
frame #0: 0x0000000201430200 libsystem_kernel.dylib
__pthread_kill + 8 libsystem_kernel.dylib
:-> 0x201430200 <+8>: b.lo 0x201430220 ; <+40>
0x201430204 <+12>: pacibsp
0x201430208 <+16>: stp x29, x30, [sp, #-0x10]!
0x20143020c <+20>: mov x29, sp
Target 0: (Runner) stopped.
Is any solution for this?
The text was updated successfully, but these errors were encountered: