You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/09/18 05:02:08 UTC

[1/2] cordova-plugin-device-motion git commit: fixed merge conflict

Repository: cordova-plugin-device-motion
Updated Branches:
  refs/heads/master c3d572e97 -> 846085b69


fixed merge conflict


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/c33630fd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/c33630fd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/c33630fd

Branch: refs/heads/master
Commit: c33630fd42795d8ddf87b7dcba7ab234424d4f16
Parents: c3d572e
Author: Steve Gill <st...@gmail.com>
Authored: Sun Sep 17 21:36:12 2017 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Sun Sep 17 21:36:12 2017 -0700

----------------------------------------------------------------------
 README.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/c33630fd/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 21279d8..12243c0 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,14 @@ description: Access accelerometer data.
 
 # cordova-plugin-device-motion
 
-> 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 acceleration they should implement a `devicemotion ` event listener as outlined in the [W3C DeviceOrientation Event Specification](https://w3c.github.io/deviceorientation/spec-source-orientation.html).
+# Deprecation Notice
+
+With the [W3C Device Motion and Orientation API](https://www.w3.org/TR/2016/CR-orientation-event-20160818/) now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Migrating from this plugin to the [W3C Device Motion and Orientation API](https://www.w3.org/TR/2016/CR-orientation-event-20160818/) is explained in this [PhoneGap blog post](https://blog.phonegap.com/migrating-from-the-cordova-device-motion-plugin-ddd8176632ed).
+
+----
+
+
+## Description
 
 This plugin provides access to the device's accelerometer. The accelerometer is
 a motion sensor that detects the change (_delta_) in movement relative to the


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] cordova-plugin-device-motion git commit: CB-13068: added info tag for deprecation

Posted by st...@apache.org.
CB-13068: added info tag for deprecation


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/846085b6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/846085b6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/846085b6

Branch: refs/heads/master
Commit: 846085b694177e92dd0bb83ad332504326aa654d
Parents: c33630f
Author: Steve Gill <st...@gmail.com>
Authored: Sun Sep 17 22:02:04 2017 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Sun Sep 17 22:02:04 2017 -0700

----------------------------------------------------------------------
 plugin.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/846085b6/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 6e65d9f..48f5eda 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -37,6 +37,10 @@
         <clobbers target="navigator.accelerometer" />
     </js-module>
 
+    <info>
+        With the W3C Device Motion and Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Read more about the API at https://www.w3.org/TR/2016/CR-orientation-event-20160818/ 
+    </info>
+
     <!-- firefoxos -->
     <platform name="firefoxos">
         <config-file target="config.xml" parent="/*">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org