Skip to content

Places api fix - #640

Merged
vickrumsukhlani merged 2 commits into
mainfrom
places-api-fix
Aug 27, 2026
Merged

Places api fix#640
vickrumsukhlani merged 2 commits into
mainfrom
places-api-fix

Conversation

@Ohmarkg

@Ohmarkg Ohmarkg commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Improve Google Places autocomplete in LocationPicker with session tokens, 400ms debounce, and stale-request guards so search is more reliable and cheaper.
  • Request only needed place details fields and reset the Places session after selection/clear.
  • Drop the unused react-native-google-places-autocomplete types in favor of local GooglePlaceDetail / Place types in geolocationUtils.
  • Remove the unused shpe-app-web project from the repo.

Test plan

  • Open a flow that uses LocationPicker and type a location search (2+ characters)
  • Confirm predictions appear after a short debounce and update correctly while typing
  • Select a prediction and verify map marker / address update
  • Clear the search field and confirm predictions clear and a new session starts on the next search
  • Confirm geofencing radius still works when enabled

Ohmarkg and others added 2 commits August 25, 2026 09:19
…nce functionality. Refactor Google Places API integration for improved performance and reliability.
…oject, including ESLint, Git ignore, CORS settings, Next.js configuration, package management files, and various application components.
@Ohmarkg Ohmarkg self-assigned this Aug 26, 2026

@vickrumsukhlani vickrumsukhlani left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vickrumsukhlani
vickrumsukhlani merged commit 1da084f into main Aug 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants