-
-
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
Crash happens when HeadlessInAppWebView's dispose function is called in iOS #972
Comments
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! |
Same issue here |
libsystem_platform.dylib 0x00000001e9aec29c 987D48D5-3CAA-34D7-9141-C0BD6E2351E8 + 21148
flutter_inappwebview 0x0000000103662890 $s20flutter_inappwebview20HeadlessInAppWebViewC7disposeyyF + 200
flutter_inappwebview 0x0000000103661ddc $s20flutter_inappwebview20HeadlessInAppWebViewC6handle_6resultySo17FlutterMethodCallC_yypSgctF + 340
flutter_inappwebview 0x00000001036631d8 $s20flutter_inappwebview20HeadlessInAppWebViewC2id0afG0ACSS_AA07FlutterfG10ControllerCtcfcySo0I10MethodCallC_yypSgctcACcfu_yAI_yAJctcfu0_TA + 20
flutter_inappwebview 0x0000000103669e50 $sSo17FlutterMethodCallCypSgIegn_Ieggg_AByXlSgIeyBy_IeyByy_TR + 96
Flutter 0x0000000103d4cdc0 Flutter + 5164480
Flutter 0x000000010389ff34 Flutter + 261940
Flutter 0x0000000103ba8db4 Flutter + 3444148
Flutter 0x0000000103b4e068 Flutter + 3072104
Flutter 0x0000000103b51098 Flutter + 3084440
CoreFoundation 0x000000019ddfd1d4 338F58B1-9B75-38A0-B908-E2574AB1D39A + 672212
CoreFoundation 0x000000019ddfcdd0 338F58B1-9B75-38A0-B908-E2574AB1D39A + 671184
CoreFoundation 0x000000019ddfc220 338F58B1-9B75-38A0-B908-E2574AB1D39A + 668192
CoreFoundation 0x000000019ddf5fd4 338F58B1-9B75-38A0-B908-E2574AB1D39A + 643028
CoreFoundation 0x000000019ddf5308 CFRunLoopRunSpecific + 600
GraphicsServices 0x00000001b5478734 GSEventRunModal + 164
UIKitCore 0x00000001a087375c 41D9BF62-8439-3B21-9959-4E27E75C294E + 12363612
UIKitCore 0x00000001a0878fcc UIApplicationMain + 168
Runner 0x0000000102e8cd90 Runner + 19856
libdyld.dylib 0x000000019dab1cf8 FF7D2567-9277-3AA6-B3DD-2C5748E432A6 + 7416 |
I can also confirm this is occurring in iOS in |
Same issue on iOS running both simulator and device. Step reproduce:
Version: 5.3.2 |
me too |
Any workaround for this.
|
Using my fork repository workaround for this issue: flutter_inappwebview:
git:
url: https://github.com/hoanglm4/flutter_inappwebview.git
ref: 42743f23eb11191f07d36be3c2e0db2b7188559f |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
I cannot reproduce this issue on debug but it happens on the iOS release, the crash comes from end-user on testFlight.
This issue happens when we call HeadlessInAppWebView.dispose(). The issue does not persist when this is removed.
Environment
Device information: Apple iPhone
Steps to reproduce
Code snippet:
This is from the example code in the repository.
Stacktrace/Logcat
Here is the crash log
The text was updated successfully, but these errors were encountered: