Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove android.enableJetifier line from gradle.properties & Remove jetifier pacakge and jetify usage #2613

Open
emanuelb opened this issue May 16, 2021 · 0 comments

Comments

@emanuelb
Copy link

# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

see this guide for the steps to ensure it's safe to remove above lines (check that all deps are already fully migrated to AndroidX)
https://medium.com/dipien/say-bye-bye-to-android-jetifier-a7e0d388f5d6

The jetifier package exists in package.json

"jetifier": "^1.6.5",

And npx jetify call in ./postinstall.sh:

# Fix Android dependencies:
npx jetify

Both can be removed if project+deps fully migrated to AndroidX, also from https://www.npmjs.com/package/jetifier

Note that jetifier is included and ran automatically with react-native-community/cli for React Native versions 0.60 and above, so you do not need to install and run jetifier manually.

@emanuelb emanuelb changed the title Remove android.enableJetifier line from build.gradle & Remove jetifier pacakge and jetify usage Remove android.enableJetifier line from gradle.properties & Remove jetifier pacakge and jetify usage Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant