You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2013/05/16 23:26:20 UTC
[2/2] git commit: updated config to include ios specific notification
apis & the path to the native android Notification class
updated config to include ios specific notification apis & the path to the native android Notification class
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/2cc6887f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/2cc6887f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/2cc6887f
Branch: refs/heads/master
Commit: 2cc6887f69e4bb925ba9a7ba721d53942097c1ed
Parents: c7761cf
Author: hermwong <he...@gmail.com>
Authored: Thu May 16 14:26:03 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Thu May 16 14:26:03 2013 -0700
----------------------------------------------------------------------
plugin.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/2cc6887f/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index ba583dc..829775a 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -17,6 +17,8 @@ id="org.apache.cordova.core.Notification"
<plugin name="Notification" value="org.apache.cordova.core.Notification"/>
</config-file>
+ <source-file src="Notification.java" target-dir="org/apache/cordova/core" />
+
<!-- android specific notification apis -->
<js-module src="www/android/notification.js" name="notification">
<merges target="navigator.notification" />
@@ -31,5 +33,11 @@ id="org.apache.cordova.core.Notification"
</config-file>
<header-file src="src/ios/CDVNotification.h" />
<source-file src="src/ios/CDVNotification.m" />
+
+ <!-- android specific notification apis -->
+ <js-module src="www/ios/notification.js" name="notification">
+ <merges target="navigator.notification" />
+ </js-module>
+
</platform>
</plugin>