Currently missingDimensionStrategy is only supported in combination with productFlavors. However, if used in defaultConfig it is ignored.
For example:
android {
defaultConfig {
missingDimensionStrategy 'react-native-camera', 'general'
}
}
dependencies {
embed project(":react-native-camera")
}
here :react-native-camera will not be embeded without any error message.
The example is from https://react-native-camera.github.io/react-native-camera/docs/installation#android---other-required-steps