Hotspot

Contents

A Cordova plugin for managing Hotspot networks on Android.

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

Ionic 热点网络Hotspot插件的安装(Installation)

ionic cordova plugin add cordova-plugin-hotspot npm install @ionic-native/hotspot

Ionic 热点网络Hotspot插件支持的平台(Supported Platforms)

  • Android

Ionic 热点网络Hotspot插件的用法(Usage)

import { Hotspot, HotspotNetwork } from '@ionic-native/hotspot';

constructor(private hotspot: Hotspot) { }

...


this.hotspot.scanWifi().then((networks: Array) => {
    console.log(networks);
});