Images Camera Uploads - peophins-plasmas/pawsome-app GitHub Wiki

  1. Accesses phone's gallery and camera using expo image picker
  • Checks for permissions and requests for permissions to device gallery/camera
  1. Functions for addImageFromLibrary and captureImageFromCamera
  • Obtains an image, converts to base64, a binary-to-text encoding scheme that can embed image files as textual assets
  • Stores base 64 images in cloudinary
  • Fetches image url and updates the corresponding collection item's image url on firestore

[Article on connecting Cloudinary and Expo Image Picker](Article on connecting Cloudinary and Expo Image Picker)