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

docs(README): Document ANDROIDX_CORE_VERSION variable #808

Merged
merged 1 commit into from
Sep 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,20 @@ Although the object is attached to the global scoped `navigator`, it is not avai

## Installation

This requires cordova 5.0+

cordova plugin add cordova-plugin-camera
Older versions of cordova can still install via the __deprecated__ id

cordova plugin add org.apache.cordova.camera
It is also possible to install via repo url directly ( unstable )

cordova plugin add https://github.com/apache/cordova-plugin-camera.git

## 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.

The variable is configured on install time

cordova plugin add cordova-plugin-camera --variable ANDROIDX_CORE_VERSION=1.8.0

## How to Contribute

Expand Down