EddyVerbruggen / EddyVerbruggen/nativescript-webview-utils
Exception: `Calling js method onReceivedError failed`
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
### Which platform(s) does your issue occur on?
- Android
- system-images;android-30;google_apis;arm64-v8a
### Please, provide the following version numbers that your issue occurs with:
- CLI: 8.1.5
- Cross-platform modules:
_(…you mean dependencies?)_
```
"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"
},
```
- Runtime(s): no entries in my package.json
- Plugin(s): see above
### 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:
```
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)
```
### Is there any code involved?
Very simple app:
```
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.