-1

How to get wifi signal strength in an ionic app.

I found this https://www.npmjs.com/package/cordova-plugin-signal-strength but I still don't understand how to use can some one please give me an example app?

by clicking button, I need the value of signal strength.

Sorry if it's a dumb question but I'm really beginer.

Mahesh K
  • 1,689
  • 3
  • 23
  • 36

1 Answers1

2

I have made a working demo app for this plugin. But as mentioned in https://github.com/petervojtek/cordova-plugin-signal-strength " when you call for the first time the device may respond with -1. Try calling the function again after some delay"

I am sharing my repository.

https://github.com/kushcrimson/wifi-strength.git

Good Luck.

Mahesh K
  • 1,689
  • 3
  • 23
  • 36
Ujjwal kaushik
  • 1,618
  • 11
  • 17