OneSignal/OneSignal-Android-SDK

[Bug]: com.onesignal.notifications.internal.generation.impl.NotificationGenerationWorkManager.beginEnqueueingWork ANR triggered by slow operations in main thread

ayushi-sk opened this issue · 2 comments

What happened?

ANR

Steps to reproduce?

OneSignal integration

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

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

@ayushi-sk Thanks for reporting, but we don't have enough information to investigate. Could you provide the following information?

  1. Can you reproduce the issue on any of your devices or emulators? If so, please provide steps to reproduce
  2. Can you provide a full ANR report for all threads?
  3. What percentage of users or devices are affected by this ANR?