Baseflow / Baseflow/flutter-geocoding
[Question]: Get the timeUntilReset
- 主要语言
- Dart
- 星标
- 153
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
描述
### 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
贡献指南
调研方向
首先重新阅读 geocoding/README.md,并定位负责请求限流的 iOS 平台实现。检查是否可以通过 Flutter API 暴露 iOS 的 timeUntilReset 值,然后使用一个超过文档所述限制的请求验证其行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, flutter
- 领域
- mobile-dev
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100