Skip to main content

Hotspot

A Cordova plugin for managing Hotspot networks on Android.

Requires Cordova plugin: cordova-plugin-hotspot. For more info, please see the Hotspot plugin docs.

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

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-hotspot
$ npm install @ionic-native/hotspot
$ ionic cap sync

Supported Platforms#

  • Android

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { Hotspot, HotspotNetwork } from '@ionic-native/hotspot/ngx';
constructor(private hotspot: Hotspot) { }
...
this.hotspot.scanWifi().then((networks: HotspotNetwork[]) => {
console.log(networks);
});