Files
awesome-cordova-plugins/docs/plugins/magnetometer

Device eMagnetometer

$ ionic cordova plugin add cordova-plugin-magnetometer
$ npm install @awesome-cordova-plugins/magnetometer

Usage Documentation

Plugin Repo: https://github.com/sdesalas/cordova-plugin-magnetometer

Requires Cordova plugin: cordova-plugin-magnetometer. For more info, please see the Device Orientation docs.

Supported platforms

  • Android
    • iOS