Baseflow / Baseflow/flutter-geocoding

[Question]: Get the timeUntilReset

Open
#158 1 comment 0 reactions 0 assignees View on GitHub
P2 platform: ios type: enhancement
Dominant language
Dart
Stars
153
Forks
92
PR merge metrics
No merged PRs in 30d

Description

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-geocoding/issues).
- [X] I have carefully [read the documentation](https://github.com/baseflow/flutter-geocoding/blob/main/geocoding/README.md).

### Please select for which platform(s) you need help

- [ ] Android
- [X] iOS

### Your question

Hi

I get this error in my log when too many request

[GEOXPC] Throttled "PlaceRequest.REQUEST_TYPE_GEOCODING" request: Tried to make more than 50 requests in 60 seconds, will reset in 1 seconds - Error Domain=GEOErrorDomain Code=-3 "(null)" UserInfo={details=(
{
intervalType = short;
maxRequests = 50;
"throttler.keyPath" = "app:com.starshipcoder.contactonmap/0x20302/short(default/any)";
timeUntilReset = 1;
windowSize = 60;
}
), requestKindString=PlaceRequest.REQUEST_TYPE_GEOCODING, timeUntilReset=1, requestKind=770}

Is there a way to get the timeUntilRequest ?

Regards

### Version

2.0.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.