Automagically generate license acknowledgements for your React Native app & any JS project
See the code
React Native Legal - Automagically generate license acknowledgements for your React Native app 🚀
Automagically generate license acknowledgements for your React Native app and any Node.js project 🚀
| Android | iOS | AndroidTV | tvOS |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
You can find the full documentation for all packages in this repository at callstackincubator.github.io/react-native-legal.
yarn add react-native-legal
or
npm i --save react-native-legal
yarn add -D license-kit
or
npm i --save-dev license-kit
yarn add -D @callstack/licenses
or
npm i --save-dev @callstack/licenses
This tool is split into 4 parts:
license-kit)@callstack/licenses)app.json/app.config.js{
"expo": {
"plugins": [
+ "react-native-legal"
]
}
}
import * as React from 'react';
import { Button, View } from 'react-native';
import { ReactNativeLegal } from 'react-native-legal';
function launchNotice() {
ReactNativeLegal.launchLicenseListScreen('OSS Notice');
}
function MyComponent() {
return (
<View>
<Button onPress={launchNotice} text="Open source licenses" />
</View>
);
}
npx react-native legal-generate
or
yarn react-native legal-generate
import * as React from 'react';
import { Button, View } from 'react-native';
import { ReactNativeLegal } from 'react-native-legal';
function launchNotice() {
ReactNativeLegal.launchLicenseListScreen('OSS Notice');
}
function MyComponent() {
return (
<View>
<Button onPress={launchNotice} text="Open source licenses" />
</View>
);
}
You can use the license-kit CLI tool to generate license reports in your Node.js project. Here's how to do it:
npx license-kit report --format markdown --output ./public/licenses.md
or
yarn license-kit report --format markdown --output ./public/licenses.md
This will scan your project's dependencies and generate a license report in the specified format (JSON, Markdown, raw text, or AboutLibraries-compatible JSON metadata).
For a list of supported flags and the default values, run npx license-kit --help or read them documented in the package's README. To read more about a specific command, run npx license-kit <command> --help, e.g. npx license-kit report --help.
You can use the @callstack/licenses package to access the core functionalities of the license management tool. To do so, please read the programmatic usage documentation.
react-native-legal to your app.json/app.config.js plugins array.See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
1,270 followers · starred Apr 2025
825 followers · starred Jul 2025
1,803 followers · starred Aug 2025
675 followers · starred Apr 2025
Automagically generate license acknowledgements for your React Native app & any JS project
See the code
React Native Legal - Automagically generate license acknowledgements for your React Native app 🚀
Automagically generate license acknowledgements for your React Native app and any Node.js project 🚀
| Android | iOS | AndroidTV | tvOS |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
You can find the full documentation for all packages in this repository at callstackincubator.github.io/react-native-legal.
yarn add react-native-legal
or
npm i --save react-native-legal
yarn add -D license-kit
or
npm i --save-dev license-kit
yarn add -D @callstack/licenses
or
npm i --save-dev @callstack/licenses
This tool is split into 4 parts:
license-kit)@callstack/licenses)app.json/app.config.js{
"expo": {
"plugins": [
+ "react-native-legal"
]
}
}
import * as React from 'react';
import { Button, View } from 'react-native';
import { ReactNativeLegal } from 'react-native-legal';
function launchNotice() {
ReactNativeLegal.launchLicenseListScreen('OSS Notice');
}
function MyComponent() {
return (
<View>
<Button onPress={launchNotice} text="Open source licenses" />
</View>
);
}
npx react-native legal-generate
or
yarn react-native legal-generate
import * as React from 'react';
import { Button, View } from 'react-native';
import { ReactNativeLegal } from 'react-native-legal';
function launchNotice() {
ReactNativeLegal.launchLicenseListScreen('OSS Notice');
}
function MyComponent() {
return (
<View>
<Button onPress={launchNotice} text="Open source licenses" />
</View>
);
}
You can use the license-kit CLI tool to generate license reports in your Node.js project. Here's how to do it:
npx license-kit report --format markdown --output ./public/licenses.md
or
yarn license-kit report --format markdown --output ./public/licenses.md
This will scan your project's dependencies and generate a license report in the specified format (JSON, Markdown, raw text, or AboutLibraries-compatible JSON metadata).
For a list of supported flags and the default values, run npx license-kit --help or read them documented in the package's README. To read more about a specific command, run npx license-kit <command> --help, e.g. npx license-kit report --help.
You can use the @callstack/licenses package to access the core functionalities of the license management tool. To do so, please read the programmatic usage documentation.
react-native-legal to your app.json/app.config.js plugins array.See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
1,270 followers · starred Apr 2025
825 followers · starred Jul 2025
1,803 followers · starred Aug 2025
675 followers · starred Apr 2025