expo-modules-autolinking
autolinks native modules only if they have the
build.gradle
in the default
<my-project>/android
location and the Podspec at the root level. We need a mechanism to allow custom paths for these two files, for example,
custom/android/build.gradle
.
N.B.
expo-module.config.json
does allow specifying
gradlePath
, but that works only for an Expo Module, not native one. If you try to specify the gradle path for a native module, it will fail with
Class<MyRNSDKModule> cannot be converted to Class<? extends Module>
.