Trihp Driver is a native mobile app (React Native + Expo, TypeScript) built to onboard, verify and support drivers so they can start accepting rides quickly and safely.
Onboarding & registration: drivers register with a secure form (email + Sierra Leone phone number only), strong password validation, and OTP verification. The app validates password strength (length, uppercase, number, special char), shows live requirement checks, and prevents progressing until requirements are satisfied.
Verification & documents: after sign-up drivers upload required documents (driver’s license, vehicle license, vehicle insurance) via the built-in document uploader (image picker + FormData). The verification flow includes a pending verification screen and a graceful video splash used during transitions.
Authentication & security: uses AsyncStorage to persist tokens and minimal user info, routes users to proper next steps (OTP, upload documents, verification states). Repeated failed login attempts trigger a lockout modal with a countdown (configurable, e.g. 5 minutes) to prevent brute-force attempts. OTP resend is rate-limited and a countdown is displayed (configurable TTL — currently set to 10 minutes).