Closed vicatcu closed 6 years ago
I'm back to trying to use this plugin with the ionic-native wrapper in ionic2...
this.hotspot.isWifiOn().then((connected) => { console.log(`isWifiOn? ${connected}`); }).catch((e) => { console.log(`isWifiOn error`, e); });
... prints nothing but isWifiOn? false in the Chrome remote debug console connected to code running on an Android phone; regardless of whether I have Wi-Fi enabled or disabled in Android settings.
isWifiOn? false
ionic info Cordova CLI: 6.5.0 Ionic Framework Version: 2.3.0 Ionic CLI Version: 2.2.2 Ionic App Lib Version: 2.2.1 Ionic App Scripts Version: 1.1.4 OS: Linux 4.6 Node Version: v6.10.0 ionic-native@2.9.0 @ionic-native/hotspot@3.4.2 cordova-plugin-hotspot@1.2.8
can you try with 1.2.9?
the plugin is discontinued, so I will not maintain this repo anymore
I'm back to trying to use this plugin with the ionic-native wrapper in ionic2...
... prints nothing but
isWifiOn? false
in the Chrome remote debug console connected to code running on an Android phone; regardless of whether I have Wi-Fi enabled or disabled in Android settings.