Accessing Photos

Accessing Photos and More

I am happy to say I have found a way to access my device photos while using React Native for both iOS and Android. Expo has its own library for dealing with media library on both these devices. All I had to do was include the following code and I had access to it:

import * as MediaLibrary from ‘expo-media-library’;

While I didn’t have the time I’d like to figure out how to fully use this and implement it on my app due to my other capstone project, I was able to at least get the prompt on my iPhone to allow my app to access its photos. The full documentation of the library can be found here.

Navigation Screens

Additionally, I have settled on how I’m setting up my three navigation screens. How I previously set it up went along great with what I read in the book. The only difference is the book is unfortunately referencing an old API.

Next Up

Moving forward, I will be working this weekend to figure out how to go from my “Import Photo” button, to showing and choosing a photo, then to the canvas screen.

Accessing Photos
css.php