ARTICLE AD BOX
How can I fix this ANR ?
This issue occurs exclusively when the app is in the active state (76%) and background state (24%). The majority of impacted devices are Vivo models (42%) and Oppo devices (23%) , and majorly all of them are running Android 15 and Android 14.
main (runnable):tid=1 systid=30503 at android.os.MessageQueue.removeMessages(MessageQueue.java:812) at android.os.Handler.removeMessages(Handler.java:867) at android.view.ViewRootImpl.cancelInvalidate(ViewRootImpl.java:12239) at android.view.View.cleanupDraw(View.java:23248) at android.view.View.onDetachedFromWindowInternal(View.java:23228) at android.view.View.dispatchDetachedFromWindow(View.java:23480) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4033) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:4033) at android.view.ViewGroup.removeViewInternal(ViewGroup.java:5687) at android.view.ViewGroup.removeViewAt(ViewGroup.java:5634) at com.facebook.react.views.view.ReactViewGroup.removeViewAt(ReactViewGroup.java:627) at com.facebook.react.uimanager.ViewGroupManager.removeViewAt(ViewGroupManager.java:90) at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:470) at com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager.manageChildren(ReanimatedNativeHierarchyManager.java:149) at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:194) at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:879) at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:992) at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1052) at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.kt:22) at com.facebook.react.modules.core.ReactChoreographer.frameCallback$lambda$1(ReactChoreographer.kt:60) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1979) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1990) at android.view.Choreographer.doCallbacks(Choreographer.java:1412) at android.view.Choreographer.doFrame(Choreographer.java:1250) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1964) at android.os.Handler.handleCallback(Handler.java:1014) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loopOnce(Looper.java:250) at android.os.Looper.loop(Looper.java:340) at android.app.ActivityThread.main(ActivityThread.java:9878) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:621) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)