apache / apache/cordova-plugin-inappbrowser
Inappbrowser crash Android 8
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
some time ago I get the following message in the Playstore in the crash report. How can I fix this? I use:
cordova-plugin-inappbrowser | npm | ^3.0.0 | 3.0.0 | android,ios,winphone
and
preference name="phonegap-version" value="cli-8.1.1"
Here is the Crash-Report from Playstore:
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 flags=1 obj=0x73d4fa20 self=0x7d7c6a3a00
| sysTid=11874 nice=-10 cgrp=default sched=0/0 handle=0x7d815e19b0
| state=R schedstat=( 230122893554 21528256314 393146 ) utm=19403 stm=3609 core=4 HZ=100
| stack=0x7fd45d8000-0x7fd45da000 stackSize=8MB
| held mutexes=
#00 pc 000000000000047c [vdso] (__kernel_clock_gettime+268)
#01 pc 0000000001386414 /data/app/com.android.chrome-fCgsnIEChGzJDUmv7mYeLQ==/base.apk (???)
at org.chromium.android_webview.AwContentsClientBridge.nativeConfirmJsResult (Native method)
at org.chromium.android_webview.AwContentsClientBridge.a (SourceFile:154)
at aAh.run (unavailable:2)
at org.chromium.base.ThreadUtils.b (SourceFile:30)
at aAj.a (SourceFile:3)
at xT.onJsResultComplete (SourceFile:11)
at android.webkit.JsResult.wakeUp (JsResult.java:75)
at android.webkit.JsResult.confirm (JsResult.java:54)
at android.webkit.JsPromptResult.confirm (JsPromptResult.java:38)
at org.apache.cordova.inappbrowser.InAppChromeClient.onJsPrompt (InAppChromeClient.java:118)
at xH.a (SourceFile:438)
at ayw.run (unavailable:3)
at android.os.Handler.handleCallback (Handler.java:808)
at android.os.Handler.dispatchMessage (Handler.java:101)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7529)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)

Contributor guide
Research direction
Start with the Android crash trace and org.apache.cordova.inappbrowser.InAppChromeClient.onJsPrompt at line 118, using the reported Android 8, plugin 3.0.0, and CLI 8.1.1 versions as context. Determine the cause of the crash and verify the result against the reported Play Store failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100