2017-07-07 18:41:22 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
|
|
|
|
id="cordova-plugin-webserver"
|
2018-01-25 18:14:43 +08:00
|
|
|
version="1.0.1">
|
2017-07-07 18:41:22 +08:00
|
|
|
<engines>
|
2017-07-08 18:15:41 +08:00
|
|
|
<engine name="cordova" version=">=7.0.0" />
|
2017-07-07 18:41:22 +08:00
|
|
|
</engines>
|
|
|
|
|
|
|
|
<name>Webserver for Cordova Apps</name>
|
|
|
|
<keywords>webserver,cordova,http, request, response,server</keywords>
|
2017-07-12 01:43:47 +08:00
|
|
|
<repo>https://github.com/bykof/cordova-plugin-webserver</repo>
|
|
|
|
<issue>https://github.com/bykof/cordova-plugin-webserver/issues</issue>
|
2017-07-07 18:41:22 +08:00
|
|
|
|
|
|
|
<js-module src="webserver.js" name="webserver">
|
|
|
|
<clobbers target="webserver" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
<platform name="android">
|
2017-07-11 19:37:51 +08:00
|
|
|
<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"/>
|
2017-07-07 18:41:22 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Webserver">
|
2017-07-11 21:35:12 +08:00
|
|
|
<param name="android-package" value="org.apache.cordova.plugin.Webserver"/>
|
2017-07-07 18:41:22 +08:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
</platform>
|
|
|
|
|
|
|
|
<platform name="ios">
|
2017-07-11 19:37:51 +08:00
|
|
|
<source-file src="src/ios/Webserver.swift" />
|
|
|
|
<dependency id="cordova-plugin-add-swift-support" version="1.6.1"/>
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<framework src="libz.tbd" />
|
|
|
|
<framework src="libxml2.tbd" />
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<!-- GCDWebserver -->
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServer.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServer.m" />
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<header-file src="src/ios/GCDWebServer-Bridging-Header.h"/>
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerConnection.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerConnection.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerFunctions.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerFunctions.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerHTTPStatusCodes.h" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerPrivate.h" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerResponse.m" />
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<!-- GCDWebserver Requests -->
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerDataRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerDataRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerFileRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerFileRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.m" />
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<!-- GCDWebserver Response -->
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerDataResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerDataResponse.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerErrorResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerErrorResponse.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerFileResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerFileResponse.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerStreamedResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerStreamedResponse.m" />
|
2017-07-07 21:23:55 +08:00
|
|
|
|
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Webserver">
|
|
|
|
<param name="ios-package" value="Webserver" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
</platform>
|
2017-07-07 18:41:22 +08:00
|
|
|
</plugin>
|