flutter-plugins
flutter-plugins copied to clipboard
[Health] Rate limited request quota has been exceeded
Several users have reported app crashes when requesting too much data from Health Connect, with the following error:
android.os.RemoteException: Request rejected. Rate limited request quota has been exceeded. Please wait until quota has replenished before making further requests.
- #787
- #973
- https://stackoverflow.com/questions/76924081/healthconnect-rate-limited-request-quota-has-been-exceeded
Google provides several possible approaches in https://developer.android.com/health-and-fitness/guides/health-connect/plan/rate-limiting
However, as per #931, we should also handle this possible error in a better fashion rather than allowing the app to crash.