Device eMagnetometer
$ ionic cordova plugin add cordova-plugin-magnetometer
$ npm install @awesome-cordova-plugins/magnetometer
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
Last updated
Was this helpful?