Files
NativeScript/tests/app/connectivity/connectivity.md
Daniel Pinto b46fa0dbc1 Permissions update at connectivity module
Small note added.
2017-04-14 13:27:32 -03:00

20 lines
509 B
Markdown

---
nav-title: "connectivity How-To"
title: "connectivity"
environment: nativescript
description: "Examples for using connectivity"
previous_url: /ApiReference/connectivity/HOW-TO
---
# Connectivity
Obtaining connectivity information requires the "connectivity" module.
{%snippet connectivity-require%}
### Getting connection type
{%snippet connectivity-type%}
### Monitoring connection type.
{%snippet connectivity-monitoring%}
### Permissions
On Android, the permission ACCESS_NETWORK_STATE is required.