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.- Android
- iOS
Last modified 1yr ago