An open API service indexing awesome lists of open source software.

https://github.com/paradite/rn-patch-package


https://github.com/paradite/rn-patch-package

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# rn-patch-package

Collection of React Native patches using [patch-package](https://github.com/ds300/patch-package)

## Patches

Gradle 8 related:

- expo-ads-admob
- expo-firebase-analytics
- expo-firebase-core
- expo-firebase-core/node_modules/expo-constants

Other:

- react-native (EventEmitter bug fix)

## How to use

Simply copy over patch files into `patches` folder and run `yarn patch-package` (or make `patch-package` a npm script and run it) to apply the patches. Check in the patches folder and the `package.json` file to source control.

You will also need to setup `postinstall` script in `package.json` to run `patch-package` after `yarn install` or `npm install` (for yarn v1).

```json
{
"scripts": {
"postinstall": "patch-package"
}
}
```

Refer to [patch-package](https://github.com/ds300/patch-package) for more documentation.