A magnetic field detector plugin. It displays the raw x, y, and z magnetometer values and a computed magnitude of the magnetic field.
npm install @red-mobile/cordova-plugin-magnetometerThis plugin provides access to the device's magnetometer sensor.
At this moment this plugin is implemented only for Android!
```
cordova plugin add @red-mobile/cordva-plugin-magnetometer
```
cordova plugin remove @red-mobile/cordva-plugin-magnetometer
- Android
- navigator.magnetometer.getCurrentMagnetometer
- navigator.magnetometer.watchMagnetometer
- navigator.magnetometer.clearWatch