| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
|---|
| 2 | <!--
|
|---|
| 3 | Licensed to the Apache Software Foundation (ASF) under one
|
|---|
| 4 | or more contributor license agreements. See the NOTICE file
|
|---|
| 5 | distributed with this work for additional information
|
|---|
| 6 | regarding copyright ownership. The ASF licenses this file
|
|---|
| 7 | to you under the Apache License, Version 2.0 (the
|
|---|
| 8 | "License"); you may not use this file except in compliance
|
|---|
| 9 | with the License. You may obtain a copy of the License at
|
|---|
| 10 |
|
|---|
| 11 | http://www.apache.org/licenses/LICENSE-2.0
|
|---|
| 12 |
|
|---|
| 13 | Unless required by applicable law or agreed to in writing,
|
|---|
| 14 | software distributed under the License is distributed on an
|
|---|
| 15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|---|
| 16 | KIND, either express or implied. See the License for the
|
|---|
| 17 | specific language governing permissions and limitations
|
|---|
| 18 | under the License.
|
|---|
| 19 | -->
|
|---|
| 20 |
|
|---|
| 21 | <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|---|
| 22 | id="cordova-plugin-whitelist"
|
|---|
| 23 | version="1.3.2">
|
|---|
| 24 | <name>Whitelist</name>
|
|---|
| 25 | <description>Cordova Network Whitelist Plugin</description>
|
|---|
| 26 | <license>Apache 2.0</license>
|
|---|
| 27 | <keywords>cordova,whitelist,policy</keywords>
|
|---|
| 28 |
|
|---|
| 29 | <engines>
|
|---|
| 30 | <engine name="cordova-android" version=">=4.0.0" />
|
|---|
| 31 | </engines>
|
|---|
| 32 |
|
|---|
| 33 | <platform name="android">
|
|---|
| 34 | <config-file target="res/xml/config.xml" parent="/*">
|
|---|
| 35 | <feature name="Whitelist" >
|
|---|
| 36 | <param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin"/>
|
|---|
| 37 | <param name="onload" value="true" />
|
|---|
| 38 | </feature>
|
|---|
| 39 | </config-file>
|
|---|
| 40 |
|
|---|
| 41 | <source-file src="src/android/WhitelistPlugin.java" target-dir="src/org/apache/cordova/whitelist" />
|
|---|
| 42 |
|
|---|
| 43 | <info>
|
|---|
| 44 | This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
|
|---|
| 45 | </info>
|
|---|
| 46 | </platform>
|
|---|
| 47 |
|
|---|
| 48 | </plugin>
|
|---|