mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-04-22 00:00:02 +08:00
[CB-3730] first pass wp8 support
This commit is contained in:
+16
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user