mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-20 01:22:52 +08:00
29 lines
847 B
Markdown
29 lines
847 B
Markdown
|
<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
|