Rider
Action Folder Structure
- We are using React-Native along with es6 and prettier .
 
ConfirmRide
- Location:
The action can be found under 
js/actions/rider/confirmRide 
- Working: Called when rider confirm the ride details.
History
 
- Location:
The action can be found under 
js/actions/rider/confirmRide 
- Working: Called when rider acesses his prevous ride details.
Home
 
- Location:
The action can be found under 
js/actions/rider/home 
- Working:Used to set the currentLocation ,fetch location by GPS and update availbility.
Receipt
 
- Location:
The action can be found under 
js/actions/rider/receipt 
- Working: Called when the  trip ends to send review and rating.
RideBooked
 
- Location:
The action can be found under 
js/actions/rider/rideBooked 
- Working: Called when  ride is confirmed by user and driver.
Settings
 
- Location:
The action can be found under 
js/actions/rider/settings 
- Working:Called when user wants to view or edit his profile details.
AppConfig
 
- Location:
The action can be found under 
js/actions/rider/appConfig 
- Working: Called when  to get the config object
Drawer
 
- Location:
The action can be found under 
js/actions/rider/drawer 
- Working: Called when drawer is either opened or closed.