callstack / react-native-builder-bob

👷‍♂️ Simple set of CLIs to scaffold and build React Native libraries for different targets
https://callstack.github.io/react-native-builder-bob/
2.78k stars 184 forks source link

fix: disable jetifier for generated native examples #563

Closed atlj closed 4 months ago

atlj commented 4 months ago

Summary

This disables Jetifier for the example apps that are generated for native libraries. This should also fix the CI issues with Java Heap Space errors. example.

Test plan

  1. cd packages/create-react-native-library
  2. yarn prepare
  3. bin/create-react-native-library
  4. Provide email, repo URL etc.
  5. Pick any native module type for your lib
  6. Pick any language
  7. Once the lib is generated go to example/android/gradle.properties and make sure android.enableJetifier is false.