Understanding Driver Availability
The Rodando Driver app uses a sophisticated availability system to match drivers with passengers. Your availability is tracked through several states:Online
You’re connected and actively sending location updates to the system.
Available for Trips
You’re online AND ready to receive trip offers from passengers.
On Trip
You’re currently on an active trip and won’t receive new offers.
Offline
You’re not connected and won’t receive any trip requests.
Availability States Explained
Your availability is controlled by several factors tracked in theDriverAvailabilitySnapshot model:
Key Properties
- isOnline: Whether you’re connected to the system
- isAvailableForTrips: Whether you can receive new trip requests
- availabilityReason: Why you might be unavailable (e.g.,
OFFLINE,ON_TRIP,UNAVAILABLE) - currentTripId: ID of your active trip (if any)
- lastLocationTimestamp: When your location was last updated
Matchable Status
You’re considered “matchable” (able to receive trip offers) when: ✅isOnline === true
✅ isAvailableForTrips === true
✅ availabilityReason === null
✅ currentTripId === null
All four conditions must be true for you to receive trip requests. If any condition fails, you won’t be matched with passengers.
Going Online/Offline
To toggle your availability status:Access Availability Toggle
The availability toggle is typically located in the main dashboard or header of the driver app. It’s a prominent switch that shows your current status.
Toggle Your Status
Tap the toggle switch to change your status:
- Going Online: Sets
isAvailableForTrips: true - Going Offline: Sets
isAvailableForTrips: false
API Implementation
Fromdriver-availability-api.service.ts:27-36, the status update works as follows:
Location Pinging
When you’re online, the app continuously sends location updates to the backend to help match you with nearby passengers.How Location Pinging Works
Ping Implementation
Fromdriver-availability-api.service.ts:38-51:
Availability Reasons
The system uses specific reason codes to explain why you might be unavailable:AvailabilityReason Enum
OFFLINE
OFFLINE
You’ve manually toggled your status to offline. The system won’t send you any trip requests until you go back online.
ON_TRIP
ON_TRIP
You’re currently on an active trip. This status is automatically set when you accept a trip and cleared when the trip completes or is cancelled.
UNAVAILABLE
UNAVAILABLE
Automatic Status Changes
Your availability status changes automatically in certain situations:When You Accept a Trip
When a Trip Completes
When Connection is Lost
If the app loses connection to the backend for an extended period, you may be automatically marked offline to prevent stale matching.Best Practices
Go Offline During Breaks
Always toggle offline when taking breaks to avoid missing trip offers or accumulating penalties.
Maintain GPS Signal
Stay in areas with good GPS signal to ensure accurate location tracking and better trip matching.
Check Your Status
Regularly verify your online/offline status, especially after app restarts or connectivity issues.
Stay Connected
Maintain a stable internet connection (mobile data or WiFi) to receive real-time trip offers.
Viewing Your Current Status
You can check your current availability by calling thegetMine() API:
DriverAvailabilitySnapshot with all status fields.
Troubleshooting
I'm online but not receiving trip offers
I'm online but not receiving trip offers
Check that:
isAvailableForTripsistrueavailabilityReasonisnullcurrentTripIdisnull- Your location is being updated (check
lastLocationTimestamp) - You have a valid vehicle registered
- You’re in an area with active trip demand
Can't toggle online
Can't toggle online
This may happen if:
- You don’t have a verified vehicle registered
- Your driver account has compliance issues
- The backend API is unreachable
- You’re still assigned to a previous trip
Location not updating
Location not updating
Ensure:
- Location permissions are granted to the app
- GPS is enabled on your device
- You’re not in an area with poor GPS signal (like underground parking)
- The app is running in the foreground or has background location permission
Related Topics
- Accepting Trip Requests - How to respond to trip offers
- Vehicle Setup - Register your vehicle to go online
- Google Maps Configuration - Location and mapping setup