awesome-cordova-plugins/docs/plugins/device-motion/README.md

29 lines
847 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/device-motion/index.ts#L31">
Improve this doc
</a>
# Device Motion
```
$ ionic cordova plugin add cordova-plugin-device-motion
$ npm install @ionic-native/plugins/device-motion
```
## [Usage Documentation](https://ionicframework.com/docs/native/device-motion/)
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