Device eMagnetometer

Contents

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

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

Stuck on a Cordova issue?

Installation

ionic cordova plugin add cordova-plugin-magnetometernpm install @ionic-native/magnetometer
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/magnetometer

Supported Platforms

  • Android
  • iOS

Usage