-
Notifications
You must be signed in to change notification settings - Fork 238
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
Add support for Androidx instead of using support library #37
Comments
Thanks for adding these. We will do this, but we don't want to do it until it's necessary. You can read the details about why here: |
Tks! @matt-oakes |
This is needed now for react-native 0.60. I'm getting support library errors when trying to compile with this library:
|
@louisch Give a look on this repo will help you! https://github.com/mikehardy/jetifier |
I'm under the same issue with RN 0.60. Do I need to upgrade to AndroidX mandatory?
|
If you want to avoid using jetifier as suggested by @louisch, you can apply a patch to this package using patch-package. The patch (for version 1.4.2) should be saved as
Personally I do not understand why this package, which was actually removed from RN 0.60 as part of Lean core effort, does not support AndroidX out of the box. It just does not make sense since RN 0.60 actually requires AndroidX. |
I made it work yesterday! had to manually install every dependency from react-native-community, including this one, async-storage, etc. Took me like 1 week to make my app work on RN 0.60. Thanks! |
As @douglaszaltron said here #37 (comment). Running But I agree with @skippone. I would prefer to avoid |
Published version 2.0.2 that supports RN 0.60 |
AndroidX will replace the Support Libraries.
AndroidX is the open-source project that the Android team uses to develop, test, package, version and release libraries within Jetpack.
AndroidX is a major improvement to the original Android Support Library. Like the Support Library, AndroidX ships separately from the Android OS and provides backwards-compatibility across Android releases. AndroidX fully replaces the Support Library by providing feature parity and new libraries.
See: https://developer.android.com/jetpack/androidx/
AndroidX is the replacement for Google Support Libraries. Android P is the transition phase for this. The next version of Android is likely to support only AndroidX. This library fails on android builds that use the new compileSdkVersion.
The text was updated successfully, but these errors were encountered: