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

[Question]: Get the timeUntilReset #158

Open
3 of 4 tasks
starshipcoder opened this issue Jun 30, 2023 · 1 comment
Open
3 of 4 tasks

[Question]: Get the timeUntilReset #158

starshipcoder opened this issue Jun 30, 2023 · 1 comment
Labels
P2 Important issues not at the top of the work list. platform: ios Issue is related to the iOS platform type: enhancement New feature or request

Comments

@starshipcoder
Copy link

Please check the following before submitting a new issue.

Please select for which platform(s) you need help

  • Android
  • 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

@mvanbeusekom mvanbeusekom added platform: ios Issue is related to the iOS platform P2 Important issues not at the top of the work list. labels Jul 12, 2023
@mvanbeusekom
Copy link
Member

Hi @starshipcoder,

Thanks for raising this issue. At the moment it is not possible to access the timeUntilReset parameter. We are however planning to refactor the geocoding plugin exposing the native APIs instead of only a cross-platform abstraction. This should allow us to also expose a more detailed error object on iOS which in turn can expose the timeUntilReset parameter.

This however is not something that we'll release short term. I will leave this issue open so we are able to track progress.

@JeroenWeener JeroenWeener added the type: enhancement New feature or request label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Important issues not at the top of the work list. platform: ios Issue is related to the iOS platform type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants