- Visit exp://expo.io/@jswill88/strobe-light+wligmOhDK on a mobile device, and open the app with Expo
- Give the app permission to use your camera
- Click "Start" to see your camera flash go on and off
- Click "Stop" to stop the flashing
- Move the slider, or press 'Slower' and 'Faster' to change the speed of the flash
I don't know if this works on Android, but it works on iPhone
https://upmostly.com/tutorials/setinterval-in-react-components-using-hooks
https://docs.expo.io/versions/v39.0.0/sdk/camera/
https://github.com/react-native-community/react-native-slider