Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "jetifier", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "jetifier from Android Studio, in npm package format", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,9 +44,23 @@ # jetifier | ||
1. You have a dependency that does not allow overrides of compileSdk, so you can't set the compileSdk to 28 as AndroidX requires: <https://github.com/razorpay/react-native-razorpay/pull/201>. This can lead to errors in resource merger where styles reference unknown attributes. Open pull requests with the libraries that do this | ||
1. For windows you must use WSL - we have reports it works, but also reports you may need to update WSL and install jetifier locally vs globally. It should work for you, but if you have updates to exactly how to make it work please propose a PR to this readme :hearts: | ||
- from one of the success reports "installed jetifier from the Windows console, then I ran the the jetify command from WSL" | ||
So far there has not been a case of `npx jetify` failing that wasn't based in an error in a library, so if you have a problem please examine the error and the dependency very closely and help the libraries with fixes. | ||
### Getting it working in Windows | ||
Jetify is a bash script so you need an updated WSL to make it work with bash, find and sed installed. | ||
First install jetifier from a Windows command prompt: | ||
npm i --save-dev jetifier | ||
Then from WSL, you can run it using: | ||
npx jetify | ||
...or if that doesn't work | ||
./bin/node_modules/jetify | ||
## Contributing | ||
Please feel free to pull requests or log issues, especially to update versions if I somehow fail to notice an update. Thanks! |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66
2724776