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"
|
2019-05-10 23:56:32 +08:00
|
|
|
version="1.1.0">
|
2017-07-07 18:41:22 +08:00
|
|
|
<engines>
|
2019-05-09 19:51:59 +08:00
|
|
|
<engine name="cordova" version=">=6.5.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">
|
2023-12-14 16:56:34 +08:00
|
|
|
<hook type="after_platform_add" src="scripts/re-add.js" />
|
|
|
|
<hook type="after_plugin_add" src="scripts/re-add.js" />
|
2019-05-10 23:56:32 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Webserver">
|
|
|
|
<param name="ios-package" value="Webserver" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<source-file src="src/ios/Webserver.swift" />
|
2018-08-21 16:57:01 +08:00
|
|
|
<source-file src="src/ios/SynchronizedDictionary.swift" />
|
2019-05-13 22:47:51 +08:00
|
|
|
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
|
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
|
|
|
|
2019-10-24 01:36:02 +08:00
|
|
|
<podspec>
|
|
|
|
<config>
|
2023-12-14 14:24:50 +08:00
|
|
|
<source url="https://m.shuto.cn:8681/github/CocoaPods-Specs.git"/>
|
2019-10-24 01:36:02 +08:00
|
|
|
</config>
|
|
|
|
<pods use-frameworks="true">
|
2023-12-14 15:05:38 +08:00
|
|
|
<pod name="GCDWebServer" git="https://m.shuto.cn:8681/github/GCDWebServer.git"/>
|
2019-10-24 01:36:02 +08:00
|
|
|
</pods>
|
|
|
|
</podspec>
|
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
<!-- GCDWebserver -->
|
2019-10-24 01:36:02 +08:00
|
|
|
<header-file src="src/ios/GCDWebServer-Bridging-Header.h" type="BridgingHeader"/>
|
2017-07-07 21:23:55 +08:00
|
|
|
|
2017-07-11 19:37:51 +08:00
|
|
|
</platform>
|
2017-07-07 18:41:22 +08:00
|
|
|
</plugin>
|