[CB-3730] first pass wp8 support

This commit is contained in:
Benn Mapes
2013-06-24 15:58:28 -07:00
parent 27a1eef5ae
commit f716a28b1c
2 changed files with 145 additions and 1 deletions
+16 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.core.NetworkManager" version="0.1.0">
@@ -60,4 +60,19 @@ id="org.apache.cordova.core.NetworkManager" version="0.1.0">
<source-file src="src/wp7/NetworkStatus.cs" />
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="NetworkStatus">
<param name="wp-package" value="NetworkStatus"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_NETWORKING" />
</config-file>
<source-file src="src/wp8/NetworkStatus.cs" />
</platform>
</plugin>