Updated Branches: refs/heads/master d592e6d08 -> d5ca2f064
added Vibration permission for Android Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/d5ca2f06 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/d5ca2f06 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/d5ca2f06 Branch: refs/heads/master Commit: d5ca2f064f89dacc1573d826f91683a32a2cfaf2 Parents: d592e6d Author: hermwong <[email protected]> Authored: Tue Jun 11 11:39:35 2013 -0700 Committer: hermwong <[email protected]> Committed: Tue Jun 11 11:39:35 2013 -0700 ---------------------------------------------------------------------- plugin.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/d5ca2f06/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index 40914e5..9fec03c 100644 --- a/plugin.xml +++ b/plugin.xml @@ -16,7 +16,11 @@ id="org.apache.cordova.core.Notification" <config-file target="res/xml/config.xml" parent="/*"> <plugin name="Notification" value="org.apache.cordova.core.Notification"/> </config-file> - + + <config-file target="AndroidManifest.xml" parent="/*"> + <uses-permission android:name="android.permission.VIBRATE" /> + </config-file> + <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/core" /> <!-- android specific notification apis -->
