stub in initial plugin.xml config file
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/39c7acd7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/39c7acd7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/39c7acd7 Branch: refs/heads/master Commit: 39c7acd7cf313f5d100e7c3c38f8be001eea4a10 Parents: 9838838 Author: hermwong <[email protected]> Authored: Mon May 13 15:06:16 2013 -0700 Committer: hermwong <[email protected]> Committed: Mon May 13 15:06:16 2013 -0700 ---------------------------------------------------------------------- plugin.xml | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/39c7acd7/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml new file mode 100644 index 0000000..b1204be --- /dev/null +++ b/plugin.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" +xmlns:android="http://schemas.android.com/apk/res/android" +id="org.apache.cordova.core.Notification" + version="0.1.0"> + + <name>Vibration</name> + + <js-module src="www/notification.js" name="notification"> + <clobbers target="navigator.notification" /> + </js-module> + + <!-- android --> + <platform name="android"> + <config-file target="res/xml/config.xml" parent="plugins"> + <plugin name="Notification" value="org.apache.cordova.core.Notification"/> + </config-file> + + <!-- android specific notification apis --> + <js-module src="www/android/notification.js" name="notification"> + <merges target="navigator.notification" /> + </js-module> + + </platform> + + <!-- ios --> + <platform name="ios"> + <config-file target="config.xml" parent="plugins"> + <plugin name="Notification" value="CDVNotification" /> + </config-file> + <header-file src="src/ios/CDVNotification.h" /> + <source-file src="src/ios/CDVNotification.m" /> + </platform> +</plugin>
