Cordova Plugin Signal Strength,

Hey there! I’m trying to build a simple app that measure the WiFi signal strength. I found a cordova’s plugin ([https://www.npmjs.com/package/cordova-plugin-signal-strength]) and tried to use it but I always get the following error

image

I’ve searched a lot and can’t seem to find a solution that works!
Any idea how to use this plugin with ionic 2 (+ typescript)?

(Sorry if it’s a dumb question but I’m just a noob)

Post is a little dated… not sure if you figured out, if not:
try changing from window.SignalStrength to var SignalStrength (don’t need window). Also declare this at top of js (outside the method). It worked for me.

Also note: this particular plugin tests GSM dbm…