OneSignal-Android-SDK
OneSignal-Android-SDK copied to clipboard
[Bug]: com.onesignal.notifications.receivers.NotificationDismissReceiver.<init>
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
14
Specific Android models
Samsung Galaxy A23
Google Pixel 5a 5G
Transsion Note 30 Pro
Google Pixel 5
Relevant log output
main (runnable):tid=1 systid=14116
at com.onesignal.notifications.receivers.NotificationDismissReceiver.<init>(NotificationDismissReceiver.kt:37)
at java.lang.Class.newInstance(Native method)
at android.app.AppComponentFactory.instantiateReceiver(AppComponentFactory.java:110)
at androidx.core.app.CoreComponentFactory.instantiateReceiver(CoreComponentFactory.java:59)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4428)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(unavailable)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2256)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Hi, thank you for reporting these multiple stacktraces. Since they appear to be similar root causes, I will consolidate into a single issue for tracking.