Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-native/gradle-plugin

Package Overview
Dependencies
Maintainers
11
Versions
504
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/gradle-plugin

Gradle Plugin for React Native

  • 0.73.0-nightly-20230926-27b631e5b
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5M
decreased by-23.59%
Maintainers
11
Weekly downloads
 
Created

What is @react-native/gradle-plugin?

The @react-native/gradle-plugin npm package is designed to enhance and simplify the integration of React Native projects with the Android build system, Gradle. It provides a set of Gradle scripts and configurations that automate the process of building and bundling React Native code and assets into Android applications. This plugin streamlines the development workflow, making it easier to include React Native components in Android apps, manage dependencies, and customize the build process.

What are @react-native/gradle-plugin's main functionalities?

Automatic linking of project dependencies

Automatically links all project dependencies declared in your `package.json` file with your Android project, eliminating the need for manual linking. This feature simplifies the process of adding and updating React Native modules that include native Android code.

apply plugin: '@react-native/gradle-plugin'

Customizable build configurations

Allows for customization of build configurations, such as specifying the entry file for the React Native bundle or enabling bundling for release builds. This feature provides flexibility in how React Native components are built and integrated into your Android app.

project.ext.react = [
    entryFile: 'index.js',
    bundleInRelease: true
]

Asset bundling and packaging

Automates the process of bundling JavaScript code and assets (such as images and fonts) into your Android application. This ensures that all necessary React Native components and resources are included in the app package, ready for distribution.

bundleReleaseJsAndAssets {
    dependsOn 'mergeReleaseResources'
    dependsOn 'bundleReleaseJsAndAssets'
}

Other packages similar to @react-native/gradle-plugin

Keywords

FAQs

Package last updated on 26 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc