From 254e6386932a62dbdccce572ac5ce95b61a0adb4 Mon Sep 17 00:00:00 2001 From: Rossen Hristov Date: Tue, 21 Jul 2015 15:36:02 +0300 Subject: [PATCH] Added reminder about the android.permission.ACCESS_NETWORK_STATE. --- connectivity/connectivity.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/connectivity/connectivity.d.ts b/connectivity/connectivity.d.ts index 595f9e7aa..a0758dd81 100644 --- a/connectivity/connectivity.d.ts +++ b/connectivity/connectivity.d.ts @@ -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;