-
Notifications
You must be signed in to change notification settings - Fork 1
images_action.js
Anoop Nair edited this page Nov 15, 2021
·
5 revisions
This file contains all the redux actions for images
.
There are three types of images in app :
-
CAMERA
- These are the images taken from in app camera. -
GALLERY
- These are geotagged images imported from phone gallery. -
WEB
- These are images uploaded from OLM website but not yet tagged.
Action to add images to state.
Params
-
images
- Array of image object. -
type
-CAMERA
||GALLERY
||WEB
-
pickedUp
-{boolean}
Default user setting if litter is picked up or still there.
-
Init
-
Navigation Stacks