This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-whitelist.git


The following commit(s) were added to refs/heads/master by this push:
     new 83b77a5  breaking: deprecate plugin (#59)
83b77a5 is described below

commit 83b77a5595e4505f1278d24a0635a83cb32a6ff0
Author: エリス <[email protected]>
AuthorDate: Tue Apr 27 23:39:37 2021 +0900

    breaking: deprecate plugin (#59)
    
    * chore: deprecate plugin
    * chore: cordova>100 requirement
    * Locks the plugin for Cordova-Android >=4.0.0 <10.0.0
---
 .asf.yaml    |  4 ++++
 README.md    | 10 ++++++++++
 package.json |  2 +-
 plugin.xml   |  2 +-
 4 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 29a6c7c..4238892 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -15,6 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 
+
+github:
+  description: "[DEPRECATED] Apache Cordova - Whitelist Plugin"
+
 notifications:
   commits:              [email protected]
   issues:               [email protected]
diff --git a/README.md b/README.md
index ec9ad81..bcee926 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,16 @@ description: Whitelist external content accessible by your 
app.
 
 This plugin implements a whitelist policy for navigating the application 
webview on Cordova 4.0
 
+### Deprecation Notice
+
+With the Allow List functionality now integrated into the core of Cordova 
Android (10.x and greater), this plugin is no longer required.
+
+Existing projects using Cordova Android 10 or greater should remove this 
plugin with the following command:
+
+```bash
+cordova plugin rm cordova-plugin-whitelist
+```
+
 ## Installation
 
 You can install whitelist plugin with Cordova CLI, from npm:
diff --git a/package.json b/package.json
index b96d00f..08adcf9 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
         "cordova-android": ">=4.0.0"
       },
       "2.0.0": {
-        "cordova": ">100"
+        "cordova-android": ">=4.0.0 <10.0.0"
       }
     }
   }
diff --git a/plugin.xml b/plugin.xml
index 08de994..29250c7 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -27,7 +27,7 @@
     <keywords>cordova,whitelist,policy</keywords>
 
     <engines>
-      <engine name="cordova-android" version=">=4.0.0" />
+      <engine name="cordova-android" version=">=4.0.0 <10.0.0" />
     </engines>
 
     <platform name="android">

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to