Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
cordova-androidx-build
Advanced tools
Google introduced AndroidX libraries which replaces old Android support libraries.
Since Cordova will introduce AndroidX
from Cordova 9
, however your plugin needs to support both with AndroidX
and without AndroidX
.
This plugin migrates user's project code to AndroidX
automatically when your plugin code is build at the time.
If the project does not specify AndroidX
, this plugin migrates the user's project code migrates Android Support Library
.
Just install this plugin
$ cordova plugin add cordova-androidx-build
Or use this plugin as dependency in your plugin.xml
<dependency id="cordova.androidx.build" version="1.0.0">
The purpose of this plugin is to build your plugin code
on any environments.
That's why this plugin has two migrates mode:
If AndroidX
is not available:
this plugin changes the project code migrates to support library
.
If AndroidX
is available:
this plugin changed the project code migrates to AndroidX
.
cordova-plugin-androidx-adapter
?cordova-plugin-androidx-adapter migrates your plugin code to AndroidX
.
This plugin also migrates your plugin code to AndroidX
.
However cordova-plugin-androidx-adapter
works on only your PC, because it uses Cordova Hook Script
mechanism.
Because of this, cordova-plugin-androidx-adapter
not cloud build services, such as PhoneGap Build
.
This plugin is written in Gradle
script, which works on your PC or cloud build services.
cordova-plugin-androidx-adapter | cordova-androidx-build | |
---|---|---|
support library -> AndroidX | [x] | [x] |
support library <- AndroidX | [ ] | [x] |
work on PC | [x] | [x] |
work on cloud services | [ ] | [x] |
when execute the process | after cordova prepare | gradle sync |
mechanism | cordova hook script | gradle |
FAQs
This plugin helps to build your app with AndroidX library.
The npm package cordova-androidx-build receives a total of 1,127 weekly downloads. As such, cordova-androidx-build popularity was classified as popular.
We found that cordova-androidx-build demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.