Touchgui/plugins/org.apache.cordova.dialogs/plugin.xml

Thu, 04 Jun 2015 14:50:33 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Jun 2015 14:50:33 +0200
changeset 0
e8ccd40d0ef6
permissions
-rw-r--r--

Genesis of lecture sources for Droidcon Berlin 2015 in Postbahnhof.

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3   Licensed to the Apache Software Foundation (ASF) under one
     4   or more contributor license agreements.  See the NOTICE file
     5   distributed with this work for additional information
     6   regarding copyright ownership.  The ASF licenses this file
     7   to you under the Apache License, Version 2.0 (the
     8   "License"); you may not use this file except in compliance
     9   with the License.  You may obtain a copy of the License at
    11     http://www.apache.org/licenses/LICENSE-2.0
    13   Unless required by applicable law or agreed to in writing,
    14   software distributed under the License is distributed on an
    15   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    16   KIND, either express or implied.  See the License for the
    17   specific language governing permissions and limitations
    18   under the License.
    19 -->
    21 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    22            id="org.apache.cordova.dialogs"
    23       version="0.2.11">
    25     <name>Notification</name>
    26     <description>Cordova Notification Plugin</description>
    27     <license>Apache 2.0</license>
    28     <keywords>cordova,notification</keywords>
    29     <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git</repo>
    30     <issue>https://issues.apache.org/jira/browse/CB/component/12320642</issue>
    32     <js-module src="www/notification.js" name="notification">
    33         <merges target="navigator.notification" />
    34     </js-module>
    36     <!-- firefoxos -->
    37     <platform name="firefoxos">
    38         <config-file target="config.xml" parent="/*">
    39             <feature name="Notification">
    40                 <param name="firefoxos-package" value="Notification" />
    41             </feature>
    42         </config-file>                                         
    44 		<asset src="www/firefoxos/notification.css" target="css/notification.css" />
    45 		<asset src="www/firefoxos/danger-press.png" target="img/danger-press.png" />
    46 		<asset src="www/firefoxos/danger.png" target="img/danger.png" />
    47 		<asset src="www/firefoxos/default.png" target="img/default.png" />
    48 		<asset src="www/firefoxos/gradient.png" target="img/gradient.png" />
    49 		<asset src="www/firefoxos/pattern.png" target="img/pattern.png" />
    50 		<asset src="www/firefoxos/recommend.png" target="img/recommend.png" />
    51         <js-module src="src/firefoxos/notification.js" name="dialogs-impl">
    52           <runs />
    53         </js-module>
    54     </platform>
    56     <!-- android -->
    57     <platform name="android">
    58         <config-file target="res/xml/config.xml" parent="/*">
    59             <feature name="Notification">
    60                 <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
    61             </feature>
    62         </config-file>
    64         <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
    66         <!-- android specific notification apis -->
    67         <js-module src="www/android/notification.js" name="notification_android">
    68             <merges target="navigator.notification" />
    69         </js-module>
    71     </platform>
    73      <!-- amazon-fireos -->
    74     <platform name="amazon-fireos">
    75         <config-file target="res/xml/config.xml" parent="/*">
    76             <feature name="Notification">
    77                 <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
    78             </feature>
    79         </config-file>
    81         <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
    83         <!-- android specific notification apis -->
    84         <js-module src="www/android/notification.js" name="notification_android">
    85             <merges target="navigator.notification" />
    86         </js-module>
    88     </platform>
    90     <!-- ubuntu -->
    91     <platform name="ubuntu">
    92         <header-file src="src/ubuntu/notification.h" />
    93         <source-file src="src/ubuntu/notification.cpp" />
    94         <resource-file src="src/ubuntu/notification.qml" />
    95     </platform>
    97     <!-- ios -->
    98     <platform name="ios">
    99         <config-file target="config.xml" parent="/*">
   100             <feature name="Notification">
   101                 <param name="ios-package" value="CDVNotification"/>
   102             </feature>
   103         </config-file>
   104         <header-file src="src/ios/CDVNotification.h" />
   105 	    <source-file src="src/ios/CDVNotification.m" />
   106 	    <resource-file src="src/ios/CDVNotification.bundle" />
   107 		<framework src="AudioToolbox.framework" weak="true" />
   108     </platform>
   110     <!-- blackberry10 -->
   111     <platform name="blackberry10">
   112         <source-file src="src/blackberry10/index.js" target-dir="Notification" />
   113         <config-file target="www/config.xml" parent="/widget">
   114             <feature name="Notification" value="Notification"/>
   115         </config-file>
   116         <js-module src="www/blackberry10/beep.js" name="beep">
   117             <clobbers target="window.navigator.notification.beep" />
   118         </js-module>
   119         <source-file src="www/blackberry10/notification-beep.wav" />
   120     </platform>
   122     <!-- wp7 -->
   123     <platform name="wp7">
   124         <config-file target="config.xml" parent="/*">
   125             <feature name="Notification">
   126                 <param name="wp-package" value="Notification"/>
   127             </feature>
   128         </config-file>
   130         <source-file src="src/wp/Notification.cs" />
   131         <source-file src="src/wp/NotificationBox.xaml.cs" />
   132         <source-file src="src/wp/NotificationBox.xaml" />
   133         <source-file src="src/wp/notification-beep.wav" />
   134     </platform>
   136     <!-- wp8 -->
   137     <platform name="wp8">
   138         <config-file target="config.xml" parent="/*">
   139             <feature name="Notification">
   140                 <param name="wp-package" value="Notification"/>
   141             </feature>
   142         </config-file>
   144         <source-file src="src/wp/Notification.cs" />
   145         <source-file src="src/wp/NotificationBox.xaml.cs" />
   146         <source-file src="src/wp/NotificationBox.xaml" />
   147         <source-file src="src/wp/notification-beep.wav" />
   148     </platform>
   150     <!-- windows8 -->
   151     <platform name="windows8">
   152         <js-module src="src/windows8/NotificationProxy.js" name="NotificationProxy">
   153             <merges target="" />
   154         </js-module>
   155     </platform>
   157 </plugin>

mercurial