Mocking Camera functionality on iOS simulator with React Native
4 min readJun 25, 2021
When you build an app that has a Camera functionality, you need to use a real device to go through the photo shooting process. However, sometimes you want to just use a simulator. There are few approaches you can take:
- Use Camera Library that supports iOS simulator like https://github.com/teslamotors/react-native-camera-kit
- Add Image Picker Library(e.g. https://github.com/react-native-image-picker/react-native-image-picker) and skip the photo shooting process