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

26 lines
677 B
Markdown
Raw Normal View History

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