nativescript-angular
nativescript-angular copied to clipboard
Getting native stack trace instead of JS stack trace
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 6.2.0
- Android Runtime:6.2.0
- iOS Runtime:6.5.0
- NativeScript-Angular:
Describe the bug
When i getting error (Crash) the log is showing some native stack trace instead of the JS stack trace. Is there any option to log JS stack trace. I want to integrate firebase crashlytics to track the app crashes.
Fatal Exception: com.tns.NativeScriptException: Attempt to use cleared object reference id=1308 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3526) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3566) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1577) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:208) at android.app.ActivityThread.main(ActivityThread.java:6267) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)