Skip to content

Commit 254e638

Browse files
committed
Added reminder about the android.permission.ACCESS_NETWORK_STATE.
1 parent 9d4fa4e commit 254e638

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

connectivity/connectivity.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ declare module "connectivity" {
55
/**
66
* Gets the type of connection.
77
* Returns a value from the connectivity.connectionType enumeration.
8+
* To use this method on Android you need to have the android.permission.ACCESS_NETWORK_STATE permission added to the AndroidManifest.xml file.
89
*/
910
export function getConnectionType(): number;
1011

0 commit comments

Comments
 (0)