User Guide: Logistics Fleet Driver App & Doorstep Verification
This guide explains how commercial truck drivers, delivery van operators, and logistics dispatchers use the Famalth Lynx Driver Mobile Portal (driver_portal_screen.dart). It covers driver smartphone sign-in, daily trip loading manifests, live GPS route tracking, doorstep customer OTP verification, digital signature capture, and Cash-on-Delivery (COD) cash reconciliation.
Table of Contents
- Overview of the Logistics Driver Portal
- Driver Sign-In & Authentication
- Trip Assignment Manifest & Vehicle Inspection
- Live GPS Location Beacon & Route Navigation
- Doorstep Delivery Verification
- Cash-on-Delivery (COD) Collection & Trip Closure
- Fleet Manager Live Tracking Console
- Frequently Asked Questions (FAQ)
1. Overview of the Logistics Driver Portal
The Driver Mobile Portalconnects wholesale dispatch warehouses and retail delivery operations directly to drivers on the road:
flowchart TD
Admin["Logistics Dispatcher\n(Assigns Delivery Challans to Truck)"] --> Trip["Assigned Trip Manifest\n(/api/transport/assign-trip)"]
Trip --> DriverApp["Driver Smartphone App\n(driver_portal_screen.dart)"]
DriverApp --> GPS["Live GPS Location Beacon\n(/driver/update-location)"]
DriverApp --> Doorstep["Doorstep Customer Arrival"]
Doorstep --> OTP["Customer Delivery OTP Verification"]
Doorstep --> Sign["Digital Signature on Glass"]
OTP --> Complete["Challan Marked 'DELIVERED'\n(Auto-converts to POS Sale)"]
Sign --> Complete
2. Driver Sign-In & Authentication
Commercial drivers access the mobile portal on their phone or in-cab tablet:
- Open the application $\rightarrow$ Tap **"Driver Portal"**on the splash screen (or navigate to
http://<server-url>/#/driver). - Enter your credentials:
- Driver Identifier: Registered Mobile Number or Driver ID (e.g.
DRV-102). - Password: Your driver PIN or account password.
- Driver Identifier: Registered Mobile Number or Driver ID (e.g.
- Tap Sign In.
- Forgot Password?: Drivers can tap **"Forgot Password?"**to receive a one-time verification code on their registered mobile number and set a new password.
3. Trip Assignment Manifest & Vehicle Inspection
Once logged in, the driver sees their active assignment:
- Vehicle Information: Assigned truck plate number, vehicle model, max payload capacity, and fuel status.
- Pre-Trip Checklist: Drivers complete a quick safety audit (Tire pressure, Brakes, Fuel level, Cargo lock seal) before rolling out.
- Loading Manifest: Itemized summary of all Delivery Challans loaded into the vehicle with destination addresses, customer contact names, and total cartons/units.
4. Live GPS Location Beacon & Route Navigation
While in transit:
- Background Location Beacon: The smartphone app periodically sends encrypted GPS coordinates to
/api/transport/driver/update-location. - Reverse Geocoding: The server automatically resolves the driver's coordinates into readable street addresses and milestone checkpoints.
- Turn-by-Turn Navigation: Tap the **"Navigate"**icon on any destination stop to launch Google Maps, Apple Maps, or Waze with optimal traffic routes.
- 1-Tap Customer Dialer: Call recipient store managers directly from the app to notify them of approaching delivery trucks without exposing private driver numbers.
5. Doorstep Delivery Verification
To prevent false delivery disputes and ensure full audit compliance under GST Rule 55:
Customer OTP Code Verification
- When the driver arrives at the customer store or unloading dock, tap "Verify Delivery".
- The customer receives an automated 6-digit Delivery OTPon their registered mobile phone via SMS / WhatsApp.
- The driver asks the store manager for the OTP and enters it into the app.
- The backend verifies the cryptographic code instantly, confirming that the delivery occurred with the authorized recipient.
Customer Digital Signature on Glass
- If OTP delivery is not enabled or in offline dock areas, the driver presents their mobile screen.
- The receiving store manager writes their signature directly on the touchscreen canvas.
- The signature vector is timestamped and attached to the digital delivery challan.
Partial Drops & Damage Rejections
If some cartons are damaged or missing:
- The driver taps "Item Discrepancy"$\rightarrow$ adjusts the accepted quantity $\rightarrow$ snaps a photo of the damaged goods.
- An automatic differential adjustment is logged, notifying dispatch and revising the final billing invoice.
6. Cash-on-Delivery (COD) Collection & Trip Closure
For cash or credit on delivery shipments:
- The app shows the exact Amount to Collectfor each stop.
- Records payment method (Cash, UPI QR scan, or On-Account Credit).
- Return to Base (Release Trip): Upon returning to the central warehouse, the driver submits collected cash to the head cashier, taps "Complete & Release Trip", and the truck is marked ready for the next dispatch.
7. Fleet Manager Live Tracking Console
From the main POS Admin Console (Transport & Logistics$\rightarrow$ Fleet Live Tracking):
- Dispatchers view a real-time map displaying all trucks in transit.
- Color-coded vehicle icons:
- Moving: Active trip en route.
- At Customer: Unloading and verifying doorstep OTP.
- Returning: Inward transit back to depot.
- Idle: Available in yard for new trip assignment.
8. Frequently Asked Questions (FAQ)
What happens if the driver has no internet at the delivery basement?
The Driver Portal operates in Offline Fallback Mode. The customer's digital signature and timestamp are saved in local storage. As soon as the driver drives up to road level with cell reception, the delivery confirmation automatically syncs to the server.
Can a single trip have multiple delivery challans for different stores?
Yes! Dispatchers can group dozens of delivery challans into a single route run (/api/transport/assign-trip). The driver sees an ordered sequence of delivery stops and checks off each stop sequentially.