KOHBUS Driver App - Official App for KOHBUS Drivers
The KOHBUS Driver app is designed to help bus drivers navigate assigned routes with ease. It provides real-time location tracking to ensure accurate tracking of the bus’s position for passengers using the KOHBUS Rider app.
Foreground Service Use: To provide uninterrupted and reliable location updates to the KOHBUS Rider app, the KOHBUS Driver app uses a foreground service. This service continuously tracks the bus’s location, even when the app is not in the foreground, ensuring that passengers can track the bus’s real-time movements.
This foreground service is crucial for providing seamless and accurate tracking. The service is active only when the bus is in motion, minimizing its impact on device resources.
Persistent Notification: In compliance with Android’s foreground service requirements, the KOHBUS Driver app displays a persistent notification to inform the driver that the location service is active in the background. This notification ensures transparency, keeping the driver aware that the app is tracking and transmitting the bus's location data.
Permissions Requested:
ACCESS_FINE_LOCATION: Used to obtain precise location data for accurate real-time tracking of the bus.
ACCESS_BACKGROUND_LOCATION: Allows the app to access location data when not in the foreground, ensuring continuous tracking throughout the trip.
FOREGROUND_SERVICE: Declared to enable the app to run the location service in the background with the required persistent notification.
FOREGROUND_SERVICE_LOCATION: Declared to allow the app to access the device’s location while it is in the foreground, ensuring accurate tracking for the duration of the trip.
This background service is essential for maintaining the real-time tracking feature of the KOHBUS Rider app and will only be active while the bus is in motion.
Demo video: https://drive.google.com/file/d/10bqiVR6JSzYorQVtz2lOyZ6hT1r50gmZ/view?usp=drivesdk