Selectively disabling autolinking for Android in react-native.config.js
fails build on 0.75.0-rc.6
#45901
Labels
API: Linking
Platform: Android
Android applications.
Resolution: Fixed
A PR that fixes this issue has been merged.
Description
Selectively disabling autolinking of a native dependency in
react-native.config.js
causes build to fail with gradle trying to build it. If the dependency is disabled on both iOS and Android, it doesn't try to build it and build passes.Looks like #45223 seems to attempt to fix this, but doesn't work for me.
Related:
Steps to reproduce
npx @react-native-community/cli@latest init AutolinkingBug --version 0.75.0-rc.6
react-native-vector-icons
).react-native.config.js
, with:React Native Version
0.75.0-rc.6
Affected Platforms
Other (please specify)
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/oblador/react-native-android-autolinking-bug-repro
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: