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

Native method - J.N.MgWRfeHz (ANR) #2063

Open
2 tasks done
tjoshi03 opened this issue Mar 14, 2024 · 2 comments
Open
2 tasks done

Native method - J.N.MgWRfeHz (ANR) #2063

tjoshi03 opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tjoshi03
Copy link

  • I have read the Getting Started section
  • I have already searched for the same problem

Environment

Technology Version
Flutter version 3.7.12
Plugin version 5.8.0
Android version 13
iOS version -
macOS version -
Xcode version -
Google Chrome version -

Description

Expected behavior:
it should not break

Current behavior:
Getting lot of ANR on Android play console and firebase

Stacktrace/Logcat

"main" tid=1 Native
#00 pc 0x0000000000089af0 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#1 pc 0x000000000008e4d8 /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex+148)
#2 pc 0x00000000000f489c /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
#3 pc 0x0000000002c1c6d8 /data/app/~~IdYCUvKv6qooxNu0NCYYnQ==/com.google.android.trichromelibrary_626106433-YPbid2s2RlKTkwWqkdUXSw==/base.apk (BuildId: ee35a0c07bc2fed2bbd74d50a745a65bc91c2e5e)
#4 pc 0x0000000002c1b888 /data/app/~~IdYCUvKv6qooxNu0NCYYnQ==/com.google.android.trichromelibrary_626106433-YPbid2s2RlKTkwWqkdUXSw==/base.apk (BuildId: ee35a0c07bc2fed2bbd74d50a745a65bc91c2e5e)
#5 pc 0x0000000002c1b594 /data/app/~~IdYCUvKv6qooxNu0NCYYnQ==/com.google.android.trichromelibrary_626106433-YPbid2s2RlKTkwWqkdUXSw==/base.apk (BuildId: ee35a0c07bc2fed2bbd74d50a745a65bc91c2e5e)
#6 pc 0x0000000002c1c65c /data/app/~~IdYCUvKv6qooxNu0NCYYnQ==/com.google.android.trichromelibrary_626106433-YPbid2s2RlKTkwWqkdUXSw==/base.apk (BuildId: ee35a0c07bc2fed2bbd74d50a745a65bc91c2e5e)
#7 pc 0x000000000472f8a0 /data/app/~~IdYCUvKv6qooxNu0NCYYnQ==/com.google.android.trichromelibrary_626106433-YPbid2s2RlKTkwWqkdUXSw==/base.apk (BuildId: ee35a0c07bc2fed2bbd74d50a745a65bc91c2e5e)
at J.N.MgWRfeHz (Native method)
at com.android.webview.chromium.a.flush (chromium-TrichromeWebViewGoogle6432.aab-stable-626106433:17)
at com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebViewClient.onPageFinished (InAppWebViewClient.java:226)
at WV.e00.b (chromium-TrichromeWebViewGoogle6432.aab-stable-626106433:12)
at WV.D6.handleMessage (chromium-TrichromeWebViewGoogle6432.aab-stable-626106433:261)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:211)
at android.os.Looper.loop (Looper.java:300)
at android.app.ActivityThread.main (ActivityThread.java:8432)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:560)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:954)

@tjoshi03 tjoshi03 added the bug Something isn't working label Mar 14, 2024
Copy link

👋 @tjoshi03

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 android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

@tianlang321
Copy link

me too

J.N.MgWRfeHz(Native Method)
2
a7.flush(chromium-TrichromeWebViewGoogle.apk-stable-410410683:3)
3
com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.InAppWebViewClientCompat.onPageFinished(InAppWebViewClientCompat.java:9)
4
Fa.b(chromium-TrichromeWebViewGoogle.apk-stable-410410683:2)
5
Cs.handleMessage(chromium-TrichromeWebViewGoogle.apk-stable-410410683:65)
6
android.os.Handler.dispatchMessage(Handler.java:110)
7
android.os.Looper.loop(Looper.java:219)
8
android.app.ActivityThread.main(ActivityThread.java:8679)
9
java.lang.reflect.Method.invoke(Native Method)
10
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
11
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants