thisislohit/bus-tracking-flutter — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Flutter bus tracking app for public transport that uses crowd sourced live location. I want two main modes, Passenger mode for people already on the bus, or the crew, to share their GPS location, and Waiting mode for people at stops to see where the bus is on a map. If more than one passenger is sharing location, combine their positions into one average bus location so the waiting users get a more reliable estimate.
Please include a clean flow with splash, welcome, sign up, login, password reset, email verification, and a home screen where the user chooses Passenger or Waiting mode. Use Firebase for auth and storing live location data, and show the bus on Google Maps. Make the app feel polished and easy to use, with sensible loading states and permission handling for location.
Focus on getting the full app working end to end for Android first, but keep the Flutter project organized so it can run elsewhere too. Look up current docs online if you need to.
Want more depth? Deep Reverse