"dependencies": {
"@nativescript/core": "7.0.3",
"@nativescript/firebase": "11.0.0",
"@nativescript/local-notifications": "5.0.0",
"@nativescript/theme": "2.5.0",
"nativescript-dna-deviceinfo": "2.4.3",
"@nativescript/localize": "5.0.2",
"nativescript-webview-interface2": "1.4.7",
"nativescript-webview-utils": "3.0.1"
},
"devDependencies": {
"@nativescript/android": "7.0.0",
"@nativescript/ios": "7.0.0",
"@nativescript/types": "7.0.3",
"@nativescript/webpack": "3.0.4",
"nativescript-remote-builds": "1.1.1",
"typescript": "3.9.7"
},
Started App, opened chrome://inspect/#devices in Chrome on Computer. Clicked inspect on the emulator entry. App inside emulator crashed.
Calling js method onReceivedError failed
Error: JNI Exception occurred (SIGABRT).
=======
Check the 'adb logcat' for additional information about the error.
=======
StackTrace
push.../node_modules/nativescript-webview-utils/webview-utils.js.WebViewUtils.onReceivedError(file:///data/data/de.emscon.plano/files/app/vendor.js:76026:46)
at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
at com.tns.Runtime.callJSMethod(Runtime.java:1175)
at com.tns.Runtime.callJSMethod(Runtime.java:1153)
at com.tns.Runtime.callJSMethod(Runtime.java:1149)
at com.tns.gen.android.webkit.WebViewClient_vendor_75960_28_WebViewUtils.onReceivedError(WebViewClient_vendor_75960_28_WebViewUtils.java:72)
at g9.handleMessage(chromium-TrichromeWebViewGoogle6432.apk-stable-447211484:124)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
<Page class="page"
loaded="pageLoaded"
xmlns="http://schemas.nativescript.org/tns.xsd"
backgroundSpanUnderStatusBar="true"
backgroundColor="#cd7415"
iosOverflowSafeAreaEnabled="false"
>
<GridLayout>
<WebView
iosOverflowSafeAreaEnabled="true"
row="1" loaded="onWebViewLoaded" id="webView"
>
</WebView>
</GridLayout>
</Page>
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
(…you mean dependencies?)
Please, tell us how to recreate the issue in as much detail as possible.
Started App, opened chrome://inspect/#devices in Chrome on Computer. Clicked inspect on the emulator entry. App inside emulator crashed.
Exception:
Is there any code involved?
Very simple app: