So I’ve been added to a project that uses react-native-camera
and I’m trying to use Expo’s Development Client to ease some of the Xcode/Android Studio development flow.
iOS builds without an issue and runs great, however, I’m having some issues w/ Android due to this package. I’m able to add the CAMERA
permission (statically in the app.json
file). When I go to build, I get the same error message mentioned in this issue and it looks like the solution is to add a missingDimensionStrategy
to the /android/app/build.gradle
file.
Reading through the plugin docs, it seems I can either create a mod or use a Static Modifier (preferred). However, from the docs I can’t quite determine how to get this to work. Can anyone point me to a repo that has an example of modifying the build.gradle
file?