Added reminder about the android.permission.ACCESS_NETWORK_STATE.

This commit is contained in:
Rossen Hristov
2015-07-21 15:36:02 +03:00
parent 9d4fa4ee5c
commit 254e638693

View File

@@ -5,6 +5,7 @@ declare module "connectivity" {
/**
* Gets the type of connection.
* Returns a value from the connectivity.connectionType enumeration.
* To use this method on Android you need to have the android.permission.ACCESS_NETWORK_STATE permission added to the AndroidManifest.xml file.
*/
export function getConnectionType(): number;