JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 653091
  • Score
    100M100P100Q202523F
  • License MIT

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@react-native-community/cli-config-android) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @react-native-community/cli-config-android

    This package is part of the React Native CLI. It contains utilities for autolinking on Android platform.

    Installation

    yarn add @react-native-community/cli-config-android

    Usage

    This package is intended to be used internally in React Native CLI and by out of tree platforms.

    cli-config-android exports utilities to create OOT platform config for autolinking.

    • getProjectConfig() - creates project config for given platform
    • getDependencyConfig() - creates dependency config for given platform

    Example (<oot-platform>/packages/react-native/react-native.config.js):

      platforms: {
        android: {
          projectConfig: getProjectConfig(),
          dependencyConfig: getDependencyConfig(),
        },
        ..
      },