mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-06-06 00:00:37 +08:00
feat(android)!: bump ANDROIDX_CORE_VERSION default 1.18.0 (#957)
This commit is contained in:
@@ -49,11 +49,11 @@ It is also possible to install via repo url directly ( unstable )
|
||||
## Plugin variables
|
||||
|
||||
The plugin uses the `ANDROIDX_CORE_VERSION` variable to configure `androidx.core:core` dependency. This allows to avoid conflicts with other plugins that have the dependency hardcoded.
|
||||
If no value is passed, it will use `1.6.+` as the default value.
|
||||
If no value is passed, it will use `1.18.0` as the default value.
|
||||
|
||||
The variable is configured on install time
|
||||
|
||||
cordova plugin add cordova-plugin-camera --variable ANDROIDX_CORE_VERSION=1.8.0
|
||||
cordova plugin add cordova-plugin-camera --variable ANDROIDX_CORE_VERSION=1.18.0
|
||||
|
||||
## How to Contribute
|
||||
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@
|
||||
<source-file src="src/android/GalleryPathVO.java" target-dir="src/org/apache/cordova/camera" />
|
||||
<source-file src="src/android/xml/camera_provider_paths.xml" target-dir="res/xml" />
|
||||
|
||||
<preference name="ANDROIDX_CORE_VERSION" default="1.6.+"/>
|
||||
<preference name="ANDROIDX_CORE_VERSION" default="1.18.0"/>
|
||||
<framework src="androidx.core:core:$ANDROIDX_CORE_VERSION" />
|
||||
</platform>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user