77 lines
3.0 KiB
XML
77 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2015 Martin Reinhardt
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
-->
|
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
id="cordova-plugin-certificates"
|
|
version="0.6.4">
|
|
|
|
<name>Certificate Plugin</name>
|
|
<description>
|
|
Cordova Certificate Plugin
|
|
</description>
|
|
<author>Martin Reinhardt</author>
|
|
<license>MIT</license>
|
|
<keywords>cordova,certificates,ssl</keywords>
|
|
<repo>https://github.com/hypery2k/cordova-certificate-plugin.git</repo>
|
|
<issue>https://github.com/hypery2k/cordova-certificate-plugin/issues</issue>
|
|
|
|
<engines>
|
|
<engine name="cordova-android" version=">=4.1.0" />
|
|
<engine name="cordova-ios" version=">=3.4.0" />
|
|
</engines>
|
|
|
|
<js-module src="www/certificate.js" name="Certificates">
|
|
<clobbers target="cordova.plugins.certificates" />
|
|
</js-module>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="CDVCertificate">
|
|
<param name="ios-package" value="CDVCertificate"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/CDVCertificate.h" />
|
|
<source-file src="src/ios/CDVCertificate.m" />
|
|
|
|
<header-file src="src/ios/NSURLRequest+AllowUntrustedCertificates.h" />
|
|
<source-file src="src/ios/NSURLRequest+AllowUntrustedCertificates.m" />
|
|
</platform>
|
|
|
|
<!-- android -->
|
|
<platform name="android">
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="CertificatesPlugin" >
|
|
<param name="android-package" value="de.martinreinhardt.cordova.plugins.CertificatesPlugin"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<source-file src="src/android/de/martinreinhardt/cordova/plugins/CertificatesCordovaWebViewClient.java" target-dir="src/de/martinreinhardt/cordova/plugins/" />
|
|
<source-file src="src/android/de/martinreinhardt/cordova/plugins/CertificatesPlugin.java" target-dir="src/de/martinreinhardt/cordova/plugins/" />
|
|
</platform>
|
|
|
|
</plugin>
|