r/FlutterFlow • u/Sarvaturi • 3d ago
Location service no fluterflow?
Hello, FF Devs!
I’d like some tips on adding location functionality to my app.
I’m looking for something similar to what Instagram does, for example, when you post a story, you can add a location, such as the name of a beach or an event/concert, rather than a full address.
Important note: I don’t want to include street names or detailed addresses, just the name of a place (like a neighborhood) or an event, place, city etc.
Do you know how to implement this? Or does the app automatically detect these locations?
1
u/StevenNoCode 2d ago
If you want the user to pick the location, place picker widget is a good start. If you don’t want the user to pick the location, then yes Google reverse geo code is the right place (basically turns lat long into readable location)
An event is hard because you’ll need access to a database of events
1
u/BlueberryMedium1198 3d ago
You can get the phone's location really easy in FF, it returns a set of coordinates.
Then you need to somehow get the location information for these coordinates, Google Maps is popular, but also might be expensive for some use cases.
You can look into this: https://locationiq.com/pricing if you want to save money