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

Support Android-X in cordova v10.0.0 / [email protected] #92

Open
WuglyakBolgoink opened this issue Aug 11, 2020 · 0 comments
Open

Support Android-X in cordova v10.0.0 / [email protected] #92

WuglyakBolgoink opened this issue Aug 11, 2020 · 0 comments

Comments

@WuglyakBolgoink
Copy link

 - Added AndroidX Support
        AndroidX is the new and improved namespace for the Android Support Libraries. The original support libraries are no longer maintained.
        It is recommended to use AndroidX so that your app is running the latest support libraries but, by default, Cordova has AndroidX support disabled for compatibility with existing plugins.
        A lot of the Android supported plugins are still using the old support libraries which can not build when using the AndroidX support libraries. It is recommended to research each plugin to see if they support AndroidX before enabling this feature.
        It is recommended for plugin developers to start migrating to support AndroidX. App developers could also use Jetifier to automatically migrates their existing third-party libraries to use AndroidX.
        You can enable this feature by setting the AndroidXEnabled preference to true in config.xml.
        <preference name="AndroidXEnabled" value="true" />
        If you were previously using the cordova-plugin-androidx plugin to enable AndroidX support, this plugin is no longer needed with this preference flag.
        The cordova-plugin-androidx-adapter plugin can be used to migrate the legacy references to the new AndroidX references.
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