Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The current version of the SDK (v3.5.0) deprecates Place.isOpen and suggests using PlacesClient.isOpen(IsOpenRequest) instead.
However, the design of the suggested replacement may lead to billable
fetchPlace
calls that will never return additionalPlace
data.Scenario 1
A
Place
is requested that has no opening hours and will be unable to satisfy a localPlacesClient.isOpen(IsOpenRequest)
lookup.This sequence of events incurs two billable calls to Place Details (New).
Scenario 2
Similar to the first scenario, when using PlacesClient.searchNearby(SearchNearbyRequest request) , some
Place
results have no listed opening hours and will incur unnecessary calls tofetchPlace
that will return no additionalPlace
information.Suggested Remediations
fetchPlace
lookup was done.Place
object instead of performing a billablefetchPlace
request.Notes
This design issue also impacts Places SDK for iOS. The suggested remediations are the same.