49 lines
1.7 KiB
XML
49 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
|
|
id="cordova-plugin-webserver"
|
|
version="1.1.0">
|
|
<engines>
|
|
<engine name="cordova" version=">=6.5.0" />
|
|
</engines>
|
|
|
|
<name>Webserver for Cordova Apps</name>
|
|
<keywords>webserver,cordova,http, request, response,server</keywords>
|
|
<repo>https://github.com/bykof/cordova-plugin-webserver</repo>
|
|
<issue>https://github.com/bykof/cordova-plugin-webserver/issues</issue>
|
|
|
|
<js-module src="webserver.js" name="webserver">
|
|
<clobbers target="webserver" />
|
|
</js-module>
|
|
|
|
<platform name="android">
|
|
<framework src="org.nanohttpd:nanohttpd:+" />
|
|
<source-file src="src/android/Webserver.java" target-dir="src/org/apache/cordova/plugin"/>
|
|
<source-file src="src/android/NanoHTTPDWebserver.java" target-dir="src/org/apache/cordova/plugin"/>
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Webserver">
|
|
<param name="android-package" value="org.apache.cordova.plugin.Webserver"/>
|
|
</feature>
|
|
</config-file>
|
|
</platform>
|
|
|
|
<platform name="ios">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Webserver">
|
|
<param name="ios-package" value="Webserver" />
|
|
</feature>
|
|
</config-file>
|
|
|
|
<source-file src="src/ios/Webserver.swift" />
|
|
<source-file src="src/ios/SynchronizedDictionary.swift" />
|
|
<dependency id="cordova-plugin-add-swift-support" version="1.6.1"/>
|
|
|
|
<framework src="libz.tbd" />
|
|
<framework src="libxml2.tbd" />
|
|
<framework src="GCDWebServer" type="podspec" spec="~> 3.5.2" />
|
|
|
|
<!-- GCDWebserver -->
|
|
<header-file src="src/ios/GCDWebServer-Bridging-Header.h"/>
|
|
|
|
</platform>
|
|
</plugin>
|