Skip to content

[Bug]: TooManyRequestsException in ConnectivityManager.registerNetworkCallback Causes App Crash #1714

Open
@ALI-M0vS5a

Description

@ALI-M0vS5a

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

The app crashes with the following exception when using ConnectivityManager.registerNetworkCallback. This occurs because multiple network callbacks are registered without proper cleanup or throttling, leading to a TooManyRequestsException.

This issue is commonly discussed on platforms like Stack Overflow. A related thread that might provide helpful insights is [Compose TooManyRequestsException when there is not more than one callback registered].https://stackoverflow.com/questions/77493004/compose-toomanyrequestsexception-when-this-is-not-more-than-1-callback-registere

Relevant logcat output

No response

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions