Lost over $300 in GCP billing becoz this package pulls all fields in result, my bad I was unaware
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start at the getDetailsByPlaceId() entry point and inspect how it produces the PlacesDetailsResponse; the issue names no source file or test. Done means users can restrict requested fields to the relevant pricing groups, with the behavior verified by tests.
Written by the indexing model from the issue text.
Description
While this package is good and is working with no issues for me, I recently had a GCP billing issue where it charged me over $300-$400 without me querying for Contact or Atmosphere data. I was only accessing the Basic fields all the time like Name, Address, and Photos through getDetailsByPlaceId() method but I am unaware that this method pulls all fields and GCP Billing works such a way that its billing is based on the response (PlacesDetailsResponse) object fields rather than the fields that I fetch from PlacesDetailsResponse object.
After several emails and phone calls with GCP support, I came to know that the issues lie with this package and I had already lost over $300 to $400 over 2 months. Any new users please be aware that this API does not have a way to set Fields like Basic fields, Contact fields, Atmosphere fields separately but it returns all fields which you requesting for it.
Having said that, I like this package otherwise and I hope this package includes a way to set fields. For now, I am moving away from this package due to this missing field restrictions feature. I am now considering flutter_places_autocomplete package which has the feature that I am looking for, please suggest me any other package available which is good and also has a field restriction feature.
Also, correct me if there is already a way available in flutter_google_places to restrict the response to certain fields falling under Basic, Contact, or Atmosphere pricing plan.
PlacesDetailsResponse detail = await _places.getDetailsByPlaceId(p.placeId);
- Dominant language
- Dart
- Stars
- 312
- Forks
- 459
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluttercommunity/flutter_google_places
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
fluttercommunity/flutter_google_places#231 · 4 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
fluttercommunity/flutter_google_places#230 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
fluttercommunity/flutter_google_places#225 · 5 comments · 4 reactions ·
All issues in fluttercommunity/flutter_google_places
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
immich-app/immich#31955 ·
Maintainers usually reply within 1 day
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fluttercommunity/plus_plugins#3994 ·
Maintainers usually reply within 1 day
-
[BUG] iOS: a feature drag interrupted by the system never ends, and the next pan drags the featureOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
maplibre/flutter-maplibre-gl#1053 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100