mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-04-22 00:00:02 +08:00
Merge branch 'tizen' of http://github.com/siovene/cordova-plugin-network-information into dev
This commit is contained in:
+17
-11
@@ -11,7 +11,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<keywords>cordova,network,information</keywords>
|
||||
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git</repo>
|
||||
<issue>https://issues.apache.org/jira/browse/CB/component/12320640</issue>
|
||||
|
||||
|
||||
<js-module src="www/network.js" name="network">
|
||||
<clobbers target="navigator.connection" />
|
||||
<clobbers target="navigator.network.connection" />
|
||||
@@ -20,33 +20,33 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<js-module src="www/Connection.js" name="Connection">
|
||||
<clobbers target="Connection" />
|
||||
</js-module>
|
||||
|
||||
<!-- firefoxos -->
|
||||
|
||||
<!-- firefoxos -->
|
||||
<platform name="firefoxos">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<feature name="Network">
|
||||
<param name="firefoxos-package" value="Network" />
|
||||
</feature>
|
||||
</config-file>
|
||||
</config-file>
|
||||
<js-module src="src/firefoxos/NetworkProxy.js" name="NetworkProxy">
|
||||
<runs />
|
||||
</js-module>
|
||||
</platform>
|
||||
|
||||
|
||||
<!-- android -->
|
||||
<platform name="android">
|
||||
<config-file target="res/xml/config.xml" parent="/*">
|
||||
<feature name="NetworkStatus">
|
||||
<param name="android-package" value="org.apache.cordova.networkinformation.NetworkManager"/>
|
||||
</feature>
|
||||
</feature>
|
||||
</config-file>
|
||||
|
||||
|
||||
<config-file target="AndroidManifest.xml" parent="/*">
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
</config-file>
|
||||
|
||||
<source-file src="src/android/NetworkManager.java" target-dir="src/org/apache/cordova/networkinformation" />
|
||||
|
||||
|
||||
</platform>
|
||||
|
||||
<!-- amazon-fireos -->
|
||||
@@ -78,13 +78,13 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
</platform>
|
||||
|
||||
<!-- ios -->
|
||||
<platform name="ios">
|
||||
<platform name="ios">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<feature name="NetworkStatus">
|
||||
<param name="ios-package" value="CDVConnection" />
|
||||
<param name="ios-package" value="CDVConnection" />
|
||||
</feature>
|
||||
</config-file>
|
||||
|
||||
|
||||
<header-file src="src/ios/CDVConnection.h" />
|
||||
<source-file src="src/ios/CDVConnection.m" />
|
||||
<header-file src="src/ios/CDVReachability.h" />
|
||||
@@ -137,4 +137,10 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
</js-module>
|
||||
</platform>
|
||||
|
||||
<!-- tizen -->
|
||||
<platform name="tizen">
|
||||
<js-module src="src/tizen/NetworkProxy.js" name="NetworkProxy">
|
||||
<runs />
|
||||
</js-module>
|
||||
</platform>
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user