2021-09-29 20:09:02 +08:00
# Device Motion
```
$ ionic cordova plugin add cordova-plugin-device-motion
2021-09-29 21:19:55 +08:00
$ npm install @awesome -cordova-plugins/device-motion
2021-09-29 20:09:02 +08:00
```
2021-09-29 21:19:55 +08:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/device-motion/)
2021-09-29 20:09:02 +08: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 20:38:45 +08:00