kezong/fat-aar-android

Support missingDimensionStrategy without productFlavors in current project

Legion2 opened this issue · 1 comments

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

I think #350 introduced a regression and broke my fix for this issue again. I tested with the v1.3.7 release and I get class not found exceptions for the classes of projects which have the missingDimensionStrategy set. If I use #344 I don't get the class not found exception.