Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectivityManager$TooManyRequestsException #76

Open
indianpoptart opened this issue Jul 3, 2022 · 1 comment
Open

ConnectivityManager$TooManyRequestsException #76

indianpoptart opened this issue Jul 3, 2022 · 1 comment

Comments

@indianpoptart
Copy link
Owner

BackgroundJobService.kt

To Reproduce
Steps to reproduce the behavior:

  1. Enable app with default settings + (Battery Optimization, Call Handling, Logging)
  2. Leave app in background for many hours
  3. Crash will occur in background
  4. See error

Unsure if application will still run background code when this error is thrown. More testing will be done

Expected behavior
Connectivity manager should unregister callbacks

Phone (please complete the following information):

  • Device: Pixel (Sailfish)
  • OS: LineageOS 18.1 (Android 11)
  • App version: v6.0-Alpha8
  • Root provider: MagiskSu v25.1

Additional context
Line 73 of BackgroundJobService.kt

@indianpoptart
Copy link
Owner Author

Problem is being worked on, should be ready in v6.0-Alpha9

Issue was due to not calling an unregisterNetworkCallback at the end of the service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant