28 lines
677 B
Markdown
Raw Normal View History

2021-09-29 14:09:02 +02:00
# Device Motion
```
$ ionic cordova plugin add cordova-plugin-device-motion
2021-09-29 15:19:55 +02:00
$ npm install @awesome-cordova-plugins/device-motion
2021-09-29 14:09:02 +02:00
```
2021-09-29 15:19:55 +02:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/device-motion/)
2021-09-29 14:09:02 +02:00
Plugin Repo: [https://github.com/apache/cordova-plugin-device-motion](https://github.com/apache/cordova-plugin-device-motion)
Requires Cordova plugin: `cordova-plugin-device-motion`. For more info, please see the [Device Motion docs](https://github.com/apache/cordova-plugin-device-motion).
## Supported platforms
- Android
- BlackBerry 10
- Browser
- Firefox OS
- iOS
- Tizen
- Ubuntu
- Windows
- Windows Phone 8
2021-09-29 14:38:45 +02:00