You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: com.onesignal.notifications.internal.generation.impl.NotificationGenerationWorkManager.beginEnqueueingWork ANR triggered by slow operations in main thread
#1998
Open
1 task done
ayushi-sk opened this issue
Feb 19, 2024
· 2 comments
at com.onesignal.notifications.internal.generation.impl.NotificationGenerationWorkManager.beginEnqueueingWork(NotificationGenerationWorkManager.kt:50)
at com.onesignal.notifications.internal.bundle.impl.NotificationBundleProcessor.processBundleFromReceiver(NotificationBundleProcessor.kt:99)
at com.onesignal.notifications.receivers.FCMBroadcastReceiver.onReceive(FCMBroadcastReceiver.kt:37)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
main (runnable):tid=1 systid=9182
at java.util.HashSet.add(HashSet.java:219)
at kotlin.collections.ArraysKt___ArraysKt.toCollection(ArraysKt___Arrays.kt:9523)
at kotlin.collections.SetsKt__SetsKt.mutableSetOf(SetsKt__Sets.kt:78)
at androidx.work.WorkRequest$Builder.<init>(WorkRequest.kt:72)
at androidx.work.OneTimeWorkRequest$Builder.<init>(OneTimeWorkRequest.java:36)
at com.onesignal.notifications.internal.generation.impl.NotificationGenerationWorkManager.beginEnqueueingWork(NotificationGenerationWorkManager.kt:52)
at com.onesignal.notifications.internal.bundle.impl.NotificationBundleProcessor.processBundleFromReceiver(NotificationBundleProcessor.kt:99)
at com.onesignal.notifications.receivers.FCMBroadcastReceiver.onReceive(FCMBroadcastReceiver.kt:37)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4369)
at android.app.ActivityThread.access$1700(ActivityThread.java:265)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2180)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8220)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)
What happened?
ANR
Steps to reproduce?
What did you expect to happen?
No ANR please
OneSignal Android SDK version
5.1.2 and all others
Android version
13, 12, 11
Specific Android models
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: