cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [2/2] git commit: updated config to include ios specific notification apis & the path to the native android Notification class
Date Thu, 16 May 2013 21:26:20 GMT
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 <herm.wong@gmail.com>
Authored: Thu May 16 14:26:03 2013 -0700
Committer: hermwong <herm.wong@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>


Mime
View raw message