You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2013/06/14 23:01:12 UTC

git commit: [CB-3658] added sensor capability for wp7

Updated Branches:
  refs/heads/master 1a708c54b -> 11a78ece5


[CB-3658] added sensor capability for wp7


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/11a78ece
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/11a78ece
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/11a78ece

Branch: refs/heads/master
Commit: 11a78ece5d5c954f2b520b25c023bcdd642291ab
Parents: 1a708c5
Author: Benn Mapes <be...@gmail.com>
Authored: Fri Jun 14 14:01:00 2013 -0700
Committer: Benn Mapes <be...@gmail.com>
Committed: Fri Jun 14 14:01:00 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/11a78ece/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index d6d98ea..ce096d2 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -42,12 +42,17 @@ id="org.apache.cordova.core.AccelListener"
         
     </platform>
 
+    <!-- wp7 -->
     <platform name="wp7">
         <config-file target="config.xml" parent="/*">
             <feature name="Accelerometer">
                 <param name="wp-package" value="Accelerometer"/>
             </feature>
         </config-file>
+
+        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
+            <Capability Name="ID_CAP_SENSORS" />
+        </config-file>
         
         <source-file src="src/wp7/Accelerometer.cs" />
     </platform>