Error :Calling navigation before previous queue completes. This happens when the app is resumed after navigating to some pages


#1

An uncaught Exception occurred on “main” thread.
java.lang.RuntimeException: Unable to resume activity {org.nativescript.AmityOnline/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
Calling js method onActivityResumed failed

Error: Calling navigation before previous queue completes.
File: "file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js, line: 70, column: 8

StackTrace:
Frame: function:‘ZoneAwareError’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js’, line: 993, column: 33
Frame: function:’_waitForAnimationEnd’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 70, column: 15
Frame: function:’_setAndroidFragmentTransitions’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 84, column: 5
Frame: function:‘Frame._navigateCore’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 122, column: 32
Frame: function:‘FrameBase.performNavigation’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 279, column: 14
Frame: function:‘FrameBase._processNavigationContext’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 267, column: 18
Frame: function:‘resume_1’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 220, column: 68
Frame: function:‘Observable.notify’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/data/observable/observable.js’, line: 103, column: 23
Frame: function:’’, file:‘file:///data/data/org.nativescript.AmityOnline/files/app/tns_modules/tns-core-modules/application/application.js’, line: 197, column: 24

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3421)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3461)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2730)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1473)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Caused by: com.tns.NativeScriptException:
Calling js method onActivityResumed failed