What happened?
Alot of ANRs are being logged in Firebase Analytics after upgrading to one signal version 5.4.0.
Steps to reproduce?
Many users face ANR when the app runs. There are no specific steps to reproduce this issue.
What did you expect to happen?
No ANR in my app.
OneSignal Android SDK version
5.4.0
Android version
15
Specific Android models
Samsung Galaxy A73 5G (Android 16)
Relevant log output
main (runnable):tid=1 systid=18879
at com.onesignal.notifications.internal.data.impl.NotificationRepository$listNotificationsForGroup$2.<init>(unavailable)
at com.onesignal.notifications.internal.data.impl.NotificationRepository.listNotificationsForGroup(NotificationRepository.kt:440)
at com.onesignal.notifications.internal.summary.impl.NotificationSummaryManager.internalUpdateSummaryNotificationAfterChildRemoved(NotificationSummaryManager.kt:44)
at com.onesignal.notifications.internal.summary.impl.NotificationSummaryManager.updateSummaryNotificationAfterChildRemoved(NotificationSummaryManager.kt:37)
at com.onesignal.notifications.internal.open.impl.NotificationOpenedProcessor.processIntent(NotificationOpenedProcessor.kt:119)
at com.onesignal.notifications.internal.open.impl.NotificationOpenedProcessor.access$processIntent(NotificationOpenedProcessor.kt:50)
at com.onesignal.notifications.internal.open.impl.NotificationOpenedProcessor$processIntent$1.invokeSuspend(unavailable:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:273)
at android.os.Looper.loop(Looper.java:363)
at android.app.ActivityThread.main(ActivityThread.java:10060)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
Code of Conduct
What happened?
Alot of ANRs are being logged in Firebase Analytics after upgrading to one signal version 5.4.0.
Steps to reproduce?
What did you expect to happen?
No ANR in my app.
OneSignal Android SDK version
5.4.0
Android version
15
Specific Android models
Relevant log output
main (runnable):tid=1 systid=18879 at com.onesignal.notifications.internal.data.impl.NotificationRepository$listNotificationsForGroup$2.<init>(unavailable) at com.onesignal.notifications.internal.data.impl.NotificationRepository.listNotificationsForGroup(NotificationRepository.kt:440) at com.onesignal.notifications.internal.summary.impl.NotificationSummaryManager.internalUpdateSummaryNotificationAfterChildRemoved(NotificationSummaryManager.kt:44) at com.onesignal.notifications.internal.summary.impl.NotificationSummaryManager.updateSummaryNotificationAfterChildRemoved(NotificationSummaryManager.kt:37) at com.onesignal.notifications.internal.open.impl.NotificationOpenedProcessor.processIntent(NotificationOpenedProcessor.kt:119) at com.onesignal.notifications.internal.open.impl.NotificationOpenedProcessor.access$processIntent(NotificationOpenedProcessor.kt:50) at com.onesignal.notifications.internal.open.impl.NotificationOpenedProcessor$processIntent$1.invokeSuspend(unavailable:15) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at android.os.Handler.handleCallback(Handler.java:995) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loopOnce(Looper.java:273) at android.os.Looper.loop(Looper.java:363) at android.app.ActivityThread.main(ActivityThread.java:10060) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)Code of Conduct