Bringing Google Maps to Friendly Meals with Firebase AI Logic
Blog post from Firebase
Firebase AI Logic’s Grounding with Google Maps enables the Friendly Meals Android app to expand its hands-free cooking assistant into a location-aware Store Finder that recommends nearby businesses carrying needed ingredients. By grounding Gemini responses in Google Maps’ database of more than 250 million places and supplying the user’s coordinates, the feature can return localized information such as store locations, hours, operational status, and parking details. The implementation uses server-managed Firebase prompt templates to keep prompts, model settings, schemas, and tools configurable without app releases or exposing them on the client. In Kotlin, the app initializes a Gemini template model with the Google Maps tool, sends shopping-list ingredients alongside the current time and day, cleans and parses the JSON response into store objects, and displays them in a Compose bottom sheet. It obtains the device location through Google Play services after requesting fine or coarse location permissions, and the author recommends Firebase App Check before production deployment to help prevent abuse and fraudulent traffic.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 4 | 6,395 | 1,450 | 242 | +6% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.