You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2017/08/16 20:37:47 UTC
cordova-plugin-compat git commit: Deprecation notice
Repository: cordova-plugin-compat
Updated Branches:
refs/heads/master 7c6449ead -> 15a342779
Deprecation notice
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/commit/15a34277
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/tree/15a34277
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/diff/15a34277
Branch: refs/heads/master
Commit: 15a342779ea6905d93332068eebdd357a3e538f3
Parents: 7c6449e
Author: Simon MacDonald <si...@gmail.com>
Authored: Wed Aug 16 16:36:05 2017 -0400
Committer: Simon MacDonald <si...@gmail.com>
Committed: Wed Aug 16 16:36:05 2017 -0400
----------------------------------------------------------------------
README.md | 4 ++++
package.json | 64 +++++++++++++++++++++++++------------------------------
plugin.xml | 29 +++++++++++--------------
3 files changed, 45 insertions(+), 52 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/blob/15a34277/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 095c384..4e51219 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,10 @@ cordova-plugin-compat
This repo is for remaining backwards compatible with previous versions of Cordova.
+## Deprecated
+
+> This plugin is no longer being worked on as the functionality provided by this plugin is now included in cordova-android 6.3.0. You should upgrade your application to use version 1.2.0 of this plugin. It will detect whether or not the plugin is required based on the version of cordova-android your app uses.
+
## USAGE
Your plugin can depend on this plugin and use it to handle the new run time permissions Android 6.0.0 (cordova-android 5.0.0) introduced.
http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/blob/15a34277/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 17720f8..65b54cb 100644
--- a/package.json
+++ b/package.json
@@ -1,37 +1,31 @@
{
- "name": "cordova-plugin-compat",
- "description": "This repo is for remaining backwards compatible with previous versions of Cordova.",
- "version": "1.2.0-dev",
- "homepage": "http://github.com/apache/cordova-plugin-compat#readme",
- "repository": {
- "type": "git",
- "url": "git://github.com/apache/cordova-plugin-compat.git"
- },
- "bugs": {
- "url": "https://github.com/apache/cordova-plugin-compat/issues"
- },
- "cordova": {
- "id": "cordova-plugin-compat",
- "platforms": [
- "android"
- ]
- },
- "keywords": [
- "ecosystem:cordova",
- "ecosystem:phonegap",
- "cordova-android"
- ],
- "engines": {
- "cordovaDependencies": {
- "<1.2.0": {
- "cordova": ">=5.0.0"
- },
- ">=1.2.0": {
- "cordova": ">=5.0.0",
- "cordova-android": "<6.3.0"
- }
- }
- },
- "author": "Apache Software Foundation",
- "license": "Apache-2.0"
+ "name": "cordova-plugin-compat",
+ "description": "[DEPRECATED] This repo is for remaining backwards compatible with previous versions of Cordova.",
+ "version": "1.2.0-dev",
+ "homepage": "http://github.com/apache/cordova-plugin-compat#readme",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/apache/cordova-plugin-compat.git"
+ },
+ "bugs": {
+ "url": "https://github.com/apache/cordova-plugin-compat/issues"
+ },
+ "cordova": {
+ "id": "cordova-plugin-compat",
+ "platforms": ["android"]
+ },
+ "keywords": ["ecosystem:cordova", "ecosystem:phonegap", "cordova-android"],
+ "engines": {
+ "cordovaDependencies": {
+ "<1.2.0": {
+ "cordova": ">=5.0.0"
+ },
+ ">=1.2.0": {
+ "cordova": ">=5.0.0",
+ "cordova-android": "<6.3.0"
+ }
+ }
+ },
+ "author": "Apache Software Foundation",
+ "license": "Apache-2.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/blob/15a34277/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 28e1b73..cc35e1e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -18,25 +17,21 @@
specific language governing permissions and limitations
under the License.
-->
-
-<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
- id="cordova-plugin-compat"
- version="1.2.0-dev">
- <name>Compat</name>
- <description>Cordova Compatibility Plugin</description>
- <license>Apache 2.0</license>
- <keywords>cordova,compat</keywords>
- <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-compat.git</repo>
-
- <engines>
- <engine name="cordova" version=">=5.0.0"/>
- <engine name="cordova-android" version="<6.3.0"/>
+<plugin
+ xmlns="http://cordova.apache.org/ns/plugins/1.0" id="cordova-plugin-compat" version="1.2.0-dev">
+ <name>Compat</name>
+ <description>[DEPRECATED] Cordova Compatibility Plugin</description>
+ <license>Apache 2.0</license>
+ <keywords>cordova,compat</keywords>
+ <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-compat.git</repo>
+ <engines>
+ <engine name="cordova" version=">=5.0.0"/>
+ <engine name="cordova-android" version="
+ <6.3.0"/>
</engines>
-
<!-- android -->
<platform name="android">
<source-file src="src/android/PermissionHelper.java" target-dir="src/org/apache/cordova" />
<source-file src="src/android/BuildHelper.java" target-dir="src/org/apache/cordova" />
</platform>
-
-</plugin>
+ </plugin>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org