mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-01-19 05:52:49 +08:00
[CB-4417] Move cordova-plugin-network-information to its own Java package.
This commit is contained in:
parent
4ea68167a4
commit
9b762951d4
@ -32,7 +32,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
|||||||
<platform name="android">
|
<platform name="android">
|
||||||
<config-file target="res/xml/config.xml" parent="/*">
|
<config-file target="res/xml/config.xml" parent="/*">
|
||||||
<feature name="NetworkStatus">
|
<feature name="NetworkStatus">
|
||||||
<param name="android-package" value="org.apache.cordova.core.NetworkManager"/>
|
<param name="android-package" value="org.apache.cordova.networkinformation.NetworkManager"/>
|
||||||
</feature>
|
</feature>
|
||||||
</config-file>
|
</config-file>
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
|||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
</config-file>
|
</config-file>
|
||||||
|
|
||||||
<source-file src="src/android/NetworkManager.java" target-dir="src/org/apache/cordova/core" />
|
<source-file src="src/android/NetworkManager.java" target-dir="src/org/apache/cordova/networkinformation" />
|
||||||
|
|
||||||
</platform>
|
</platform>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
specific language governing permissions and limitations
|
specific language governing permissions and limitations
|
||||||
under the License.
|
under the License.
|
||||||
*/
|
*/
|
||||||
package org.apache.cordova.core;
|
package org.apache.cordova.networkinformation;
|
||||||
|
|
||||||
import org.apache.cordova.CallbackContext;
|
import org.apache.cordova.CallbackContext;
|
||||||
import org.apache.cordova.CordovaInterface;
|
import org.apache.cordova.CordovaInterface;
|
||||||
|
Loading…
Reference in New Issue
Block a user