layout: post author:
name: Steve Gill
url: https://twitter.com/stevesgill
title: "Plugins Release" categories: news
The following plugins were updated today:
This release includes a new plugin named cordova-plugin-compat. cordova-plugin-compat
allows backwards compatibility for plugins that had to upgrade to the new permissions model for cordova-android@5+
. Plugin authors can use and depend on cordova-plugin-compat
to continue to support older versions (<5
) of cordova-android
. Checkout the cordova-plugin-compat repo for more information. Previously, we were packaging copies of PermissionHelper.java
with the plugins that needed the permission updates, but have now decided that it would be better to store PermissionHelper.java
in cordova-plugin-compat
.
Plugin authors can also use the new engines element to specify what versions of cordova-android
your plugin supports. Read more about it in our plugin fetching blog post.
You can update any plugin by removing it, and then re-adding it.
E.g. To update your camera plugin:
cordova plugin rm cordova-plugin-camera --save
cordova plugin add cordova-plugin-camera@latest --save
Changes include:
cordova-plugin-battery-status@1.1.2
cordova-plugin-camera@2.2.0
PermissionHelper.java
with cordova-plugin-compat
PermissionHelper
DATA_URL
getRealPath
return null in some casescordova-plugin-compat@1.0.0
PermissionHelper.java
into src
cordova-plugin-console@1.0.3
cordova-plugin-contacts@2.1.0
-1
for ims Added a corresponding testcordova-plugin-contacts
readme must be updated to include instructions on removing phone number from a contactPermissionHelper.java
with cordova-plugin-compat
JSHint
for pluginscordova-plugin-device@1.1.2
CFUUIDCreate
device.uuid
in iOS 5.1.1JSHint
for pluginsdeviceInfo
on iOS for better readability.cordova-plugin-device-motion@1.2.1
JSHint
for pluginscordova-plugin-device-orientation@1.0.3
warning
emoji, as it doesn't correctly display in the docs website: http://cordova.apache.org/docs/en/dev/cordova-plugin-device-orientation/index.htmlJSHint
for pluginscordova-plugin-dialogs@1.2.1
onChange
eventwarning
emoji, as it doesn't correctly display in the docs website: http://cordova.apache.org/docs/en/dev/cordova-plugin-dialogs/index.htmlJSHint
for pluginscordova-plugin-file@4.2.0
#<FileError>
in write()
when readyState != WRITING ?
PermissionHelper.java
with cordova-plugin-compat
resolveLocalFileSystemURL
should omit trailing slash for fileFileReader
reads large files in chunks with progress.resolveLocalFileSystemURL
should detect directory vs file.requestFileSystem
.warning
emoji, as it doesn't correctly display in the docs website: cordova.apache.org/docs/en/dev/cordova-plugin-file/index.html. This closes #166JSHint
for pluginsfile.spec.129
of cordova-plugin-file
cordova-plugin-file-transfer@1.5.1
spec.34
for the transfer method to be called.file-transfer.tests
JSHint issuesJSHint
for pluginscordova-plugin-geolocation@2.2.0
PermissionHelper.java
with cordova-plugin-compat
JSHint
for pluginsNumber.EPSILON
is not defined.cordova-plugin-inappbrowser@1.4.0
NoSuchMethodError
in InAppBrowser
pluginJSHint
for pluginscordova-plugin-media@2.3.0
PermissionHelper.java
with cordova-plugin-compat
JSHint
for pluginscordova-plugin-media-capture@1.3.0
PermissionHelper.java
with cordova-plugin-compat
JSHint
for pluginscordova-plugin-network-information@1.2.1
cordova-plugin-splashscreen@3.2.2
jshintignore
for tests/ioshide()
not working in latest splashscreen plugin 3.1.0 in iOScordova-plugin-statusbar@2.1.3
inappbrowser
causing incorrect orientation on iOS8Inappbrowser
breaks UI while Screen orientation changes from landscape to portrait on iOScordova-plugin-test-framework@1.1.2
cordova-plugin-vibration@2.1.1
JSHint
for pluginscordova-plugin-whitelist@1.2.2
whitelist.js
, which leaves it emptycordova-plugin-wkwebview-engine@1.0.3
JSHint
for plugins