Hotspot

Improve this doc

$ ionic plugin add cordova-plugin-hotspot

Repo: https://github.com/hypery2k/cordova-hotspot-plugin

Supported platforms

Usage

import {Hotspot} from 'ionic-native';

Static Methods

isAvailable()

toggleWifi()

createHotspot()

startHotspot()

configureHotspot()

stopHotspot()

isHotspotEnabled()

getAllHotspotDevices()

connectToHotspot()

connectToWifiAuthEncrypt()

addWifiNetwork()

removeWifiNetwork()

isConnectedToInternet()

isConnectedToInternetViaWifi()

isWifiOn()

isWifiSupported()

isWifiDirectSupported()

scanWifi()

scanWifiByLevel()

startPeriodicallyScan()

stopPeriodicallyScan()

getNetConfig()

getConnectionInfo()

pingHost()

getMacAddressOfHost()

isDnsLive()

isPortLife()

isRooted()

API

Native

General