kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support missingDimensionStrategy without productFlavors in current project

Legion2 opened this issue · 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.