CB-12728: Device Orientation - SUNSET
This closes #36
diff --git a/README.md b/README.md
index 3d57755..0b0d79f 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,9 @@
# cordova-plugin-device-orientation
+## Deprecated
+
+> This plugin is no longer being worked on as the functionality provided by this plugin is now included in most browsers. For users who want to get the device's compass heading they should implement a `deviceorientation ` event listener as outlined in the [W3C DeviceOrientation Event Specification](https://w3c.github.io/deviceorientation/spec-source-orientation.html).
This plugin provides access to the device's compass. The compass is a sensor
that detects the direction or heading that the device is pointed, typically
diff --git a/package.json b/package.json
index 8ad4922..7fe859c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "cordova-plugin-device-orientation",
"version": "1.0.8-dev",
- "description": "Cordova Device Orientation Plugin",
+ "description": "[DEPRECATED] Cordova Device Orientation Plugin",
"types": "./types/index.d.ts",
"cordova": {
"id": "cordova-plugin-device-orientation",
diff --git a/plugin.xml b/plugin.xml
index cca85ef..e832cc6 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -24,7 +24,7 @@
version="1.0.8-dev">
<name>Device Orientation</name>
- <description>Cordova Device Orientation Plugin</description>
+ <description>[DEPRECATED] Cordova Device Orientation Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,device,orientation</keywords>
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git</repo>