Skip to content

Update build.gradle instructions for later versions of react-native #147

@krishnagopinath

Description

@krishnagopinath

Describe the bug

The quick start guide has the following setup instructions for android:

apply plugin in gradle Add this right after applying react's plugin:

apply from: "../../node_modules/react-native-ultimate-config/android/rnuc.gradle"

Final code:

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-ultimate-config/android/rnuc.gradle"

react.gradle was removed from build.gradle, so these instructions are no longer valid. Where should the rnuc.gradle reference be placed now?

Environment

Integration option

  • I am using rnuc CLI to inject environment (default integration option
    from quickstart guide)
  • I am using scheme/flavor based integration (experimental integration
    option from cookbook:
    scheme,
    flavors)
  • I am using react-native-ultimate-config within monorepo managed with
    Lerna or Yarn Workspaces Monorepo support

Env file

  • I am using dotenv file as a source for variables

OS

  • ios
  • android

Packages

  • version of react-native: 0.74.1
  • version of react-native-ultimate-config: 6.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions