How medhakg205/dishavaani works
DishaVaani is a Flutter audio guide. Its principal flow is that a visitor selects or imports an itinerary, then the app uses location and heading to match nearby points of interest and play guidance. The README identifies the matching engine as canonical and describes Firebase, sensors, audio, and network integrations as service responsibilities. Screen-to-service links and the detailed runtime wiring are not shown in the excerpts, so those links are marked unverified rather than presented as observed calls.
Main entry points: point_detect.dart Point detection · matching_engine.dart Matching engine · now_playing.dart Now playing · app.dart Flutter app
Components 21
Visitor experience
- Flutter app
lib/app.dart - Guide home
lib/screens/home.dart - Language selection
lib/screens/language_select.dart - Interest quiz
lib/screens/interest_quiz.dart - Itinerary import
lib/screens/itinerary_import.dart - POI selection
lib/screens/manual_poi_list.dart - Point detection
lib/screens/point_detect.dart - Now playing
lib/screens/now_playing.dart
Guide domain
- Itinerary service
lib/services/itinerary.dart - POI service
lib/services/poi.dart - Matching engine
lib/services/matching_engine.dart - Current stop inference
lib/core/logic/current_stop_inference.dart - POI model
lib/models/poi.dart - Itinerary stop model
lib/models/itinerary_stop.dart
Runtime services
- Location and heading
lib/services/sensor.dart - Audio playback
lib/screens/now_playing.dart - Translation
lib/services/translation.dart - User settings
lib/core/settings/app_settings.dart - Session service
lib/services/session.dart - Device identity
lib/services/device_identity.dart
Other components
- Visitor
Connections 17
- Visitor → Flutter app: opens
- Flutter app → Guide home: presents guide
- Visitor → Language selection: chooses language
- Visitor → Interest quiz: sets interests
- Visitor → Itinerary import: imports itinerary
- Visitor → POI selection: selects POIs
- Itinerary import → Itinerary service: loads itinerary
- POI selection → POI service: loads POIs
- Guide home → Point detection: starts detection
- Point detection → Location and heading: uses position and heading
- Point detection → Matching engine: matches nearby POIs
README.md - Matching engine → POI model: matches POI data
- Matching engine → Itinerary stop model: matches itinerary stops
- Point detection → Current stop inference: infers current stop
- Now playing → Audio playback: plays guidance
- Now playing → Translation: requests translation
- Visitor → Now playing: listens
README.md