Skip to content

[Bug]: com.onesignal.common.services.ServiceRegistrationReflection.doesHaveAllParameters ANR triggered by slow operations in main thread #2546

Closed

Description

@ayushi-sk

What happened?

ANR

Steps to reproduce?

1. Install - 5.6.1
2. Initialise OneSignal

What did you expect to happen?

No ANR

OneSignal Android SDK version

5.6.1

Android version

13

Specific Android models

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. nan-li commented on Feb 12, 2026

    @nan-li
    Contributor

    Hi @ayushi-sk thanks for reporting, can you fill out more information about this issue?

  2. ayushi-sk commented on Feb 17, 2026

    @ayushi-sk
    Author

    This is happening randomly for many users. OneSignal ANRs are the most frequent ANRs in the project. Could you please look into resolving the issues that have been reported multiple times over the past few years?

  3. abdulraqeeb33 commented on Apr 29, 2026

    @abdulraqeeb33
    Contributor

    Hi @ayushi-sk , we just released several fixes for ANRs in the background - behind a feature flag.
    Could you please update to this version https://github.com/OneSignal/OneSignal-Android-SDK/releases/tag/5.8.0 and also share your appId. I can enable the feature flag and perhaps you could help us out with your findings.

  4. self-assigned this
    on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions