cordova-plugin-device-orientation

[DEPRECATED] Cordova Device Orientation Plugin

Usage no npm install needed!

<script type="module">
  import cordovaPluginDeviceOrientation from 'https://cdn.skypack.dev/cordova-plugin-device-orientation';
</script>

README


title: Device Orientation description: Access compass data.

AppVeyor Travis CI
Build status Build Status

cordova-plugin-device-orientation


Description

Deprecation Notice

With the W3C Device Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Migrating from this plugin to the W3C Device Orientation API is explained in this PhoneGap blog post.