Device eMagnetometer
$ ionic cordova plugin add cordova-plugin-magnetometer
$ npm install @awesome-cordova-plugins/magnetometer
Requires Cordova plugin: cordova-plugin-magnetometer. For more info, please see the Device Orientation docs.

Supported platforms

  • Android
    • iOS
Copy link
On this page
Usage Documentation
Supported platforms