Skip to content

Add grounding with Maps #8

Open
marinacoelho wants to merge 3 commits into
mainfrom
marina/grounding-with-maps
Open

Add grounding with Maps #8
marinacoelho wants to merge 3 commits into
mainfrom
marina/grounding-with-maps

Conversation

@marinacoelho

Copy link
Copy Markdown
Contributor

This PR adds grounding with Maps via Firebase AI Logic to the Android Friendly Meals app. Now, in the Grocery List Screen, the user can tap the Maps icon in the top right corner to search for nearby stores that sell the ingredients noted on the user's grocery list. We then display a bottom sheet with a list of stores, and a few important information about each store: name, distance from current location, if it's open now and closes soon, and what the parking situation is. When the user taps on a store, they're taken to that specific store in the Google Maps app.

store-localizer

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces an "Ingredient-to-Store Localizer" feature to the grocery list screen, allowing users to find nearby stores stocking their unchecked ingredients using Gemini model grounding with Google Maps. The reviewer feedback focuses on improving internationalization (i18n) and clean architecture by refactoring the UI state and ViewModel to use Android string resource IDs instead of hardcoded English error strings.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread app/src/main/res/values/strings.xml
@marinacoelho marinacoelho requested a review from thatfiredev June 17, 2026 11:42
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.

1 participant