mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
21 lines
590 B
Markdown
21 lines
590 B
Markdown
# Device eMagnetometer
|
|
|
|
```
|
|
$ ionic cordova plugin add cordova-plugin-magnetometer
|
|
$ npm install @awesome-cordova-plugins/magnetometer
|
|
```
|
|
|
|
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/magnetometer/)
|
|
|
|
Plugin Repo: [https://github.com/sdesalas/cordova-plugin-magnetometer](https://github.com/sdesalas/cordova-plugin-magnetometer)
|
|
|
|
Requires Cordova plugin: `cordova-plugin-magnetometer`. For more info, please see the [Device Orientation docs](https://github.com/sdesalas/cordova-plugin-magnetometer).
|
|
|
|
## Supported platforms
|
|
|
|
- Android
|
|
- iOS
|
|
|
|
|
|
|