There were some changes I made in D4717 that appear to have broken running `yarn react-native run-android` when trying to build and run the Android app. I encountered this issue when fixing [[ https://linear.app/comm/issue/ENG-1485/fix-camera-roll-permission-on-android-devices | ENG-1485 ]]. The `yarn react-native run-android` command would fail with an error that went away once the changes in this diff were reverted.
I've also added the necessary [[ https://github.com/koalaman/shellcheck/wiki/Directive | ShellCheck directives ]] to this file (for the time being, until I can figure out how to clean up this file correctly) so that the ShellCheck CI/GitHub Actions still passes.