Driver
Action Folder Structure
- We are using React-Native along with es6 and prettier .
DropOff
- Location:
The action can be found under
js/actions/driver/dropOff
- Working: Called when driver reaches the drop location or when user updates the drop location
History
- Location:
The action can be found under
js/actions/driver/confirmRide
- Working: Called when driver acesses his prevous ride details.
Home
- Location:
The action can be found under
js/actions/driver/home
- Working:Called to setLocation of user,fetch gps location and update avaibility.
PickRider
- Location:
The action can be found under
js/actions/driver/dropOff
- Working: Called when driver starts the trip.
RateRider
- Location:
The action can be found under
js/actions/driver/dropOff
- Working: Called when trip has ended ,to display screen to rate rider.
RideRequest
- Location:
The action can be found under
js/actions/driver/dropOff
- Working: Called when driver acceptts the rideRequest from the rider.
Setings
- Location:
The action can be found under
js/actions/driver/dropOff
- Working: Called when driver wants to view or edit his profile
StartRide
- Location:
The action can be found under
js/actions/driver/dropOff
- Working: Called when driver clicks on startRide and starts the trip.