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

changeset 0
e8ccd40d0ef6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Touchgui/plugins/org.apache.cordova.dialogs/plugin.xml	Thu Jun 04 14:50:33 2015 +0200
     1.3 @@ -0,0 +1,157 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!--
     1.6 +  Licensed to the Apache Software Foundation (ASF) under one
     1.7 +  or more contributor license agreements.  See the NOTICE file
     1.8 +  distributed with this work for additional information
     1.9 +  regarding copyright ownership.  The ASF licenses this file
    1.10 +  to you under the Apache License, Version 2.0 (the
    1.11 +  "License"); you may not use this file except in compliance
    1.12 +  with the License.  You may obtain a copy of the License at
    1.13 +
    1.14 +    http://www.apache.org/licenses/LICENSE-2.0
    1.15 +
    1.16 +  Unless required by applicable law or agreed to in writing,
    1.17 +  software distributed under the License is distributed on an
    1.18 +  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    1.19 +  KIND, either express or implied.  See the License for the
    1.20 +  specific language governing permissions and limitations
    1.21 +  under the License.
    1.22 +-->
    1.23 +
    1.24 +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    1.25 +           id="org.apache.cordova.dialogs"
    1.26 +      version="0.2.11">
    1.27 +
    1.28 +    <name>Notification</name>
    1.29 +    <description>Cordova Notification Plugin</description>
    1.30 +    <license>Apache 2.0</license>
    1.31 +    <keywords>cordova,notification</keywords>
    1.32 +    <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git</repo>
    1.33 +    <issue>https://issues.apache.org/jira/browse/CB/component/12320642</issue>
    1.34 +
    1.35 +    <js-module src="www/notification.js" name="notification">
    1.36 +        <merges target="navigator.notification" />
    1.37 +    </js-module>
    1.38 +
    1.39 +    <!-- firefoxos -->
    1.40 +    <platform name="firefoxos">
    1.41 +        <config-file target="config.xml" parent="/*">
    1.42 +            <feature name="Notification">
    1.43 +                <param name="firefoxos-package" value="Notification" />
    1.44 +            </feature>
    1.45 +        </config-file>                                         
    1.46 +        
    1.47 +		<asset src="www/firefoxos/notification.css" target="css/notification.css" />
    1.48 +		<asset src="www/firefoxos/danger-press.png" target="img/danger-press.png" />
    1.49 +		<asset src="www/firefoxos/danger.png" target="img/danger.png" />
    1.50 +		<asset src="www/firefoxos/default.png" target="img/default.png" />
    1.51 +		<asset src="www/firefoxos/gradient.png" target="img/gradient.png" />
    1.52 +		<asset src="www/firefoxos/pattern.png" target="img/pattern.png" />
    1.53 +		<asset src="www/firefoxos/recommend.png" target="img/recommend.png" />
    1.54 +        <js-module src="src/firefoxos/notification.js" name="dialogs-impl">
    1.55 +          <runs />
    1.56 +        </js-module>
    1.57 +    </platform>
    1.58 +
    1.59 +    <!-- android -->
    1.60 +    <platform name="android">
    1.61 +        <config-file target="res/xml/config.xml" parent="/*">
    1.62 +            <feature name="Notification">
    1.63 +                <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
    1.64 +            </feature>
    1.65 +        </config-file>
    1.66 +
    1.67 +        <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
    1.68 +
    1.69 +        <!-- android specific notification apis -->
    1.70 +        <js-module src="www/android/notification.js" name="notification_android">
    1.71 +            <merges target="navigator.notification" />
    1.72 +        </js-module>
    1.73 +
    1.74 +    </platform>
    1.75 +    
    1.76 +     <!-- amazon-fireos -->
    1.77 +    <platform name="amazon-fireos">
    1.78 +        <config-file target="res/xml/config.xml" parent="/*">
    1.79 +            <feature name="Notification">
    1.80 +                <param name="android-package" value="org.apache.cordova.dialogs.Notification"/>
    1.81 +            </feature>
    1.82 +        </config-file>
    1.83 +
    1.84 +        <source-file src="src/android/Notification.java" target-dir="src/org/apache/cordova/dialogs" />
    1.85 +
    1.86 +        <!-- android specific notification apis -->
    1.87 +        <js-module src="www/android/notification.js" name="notification_android">
    1.88 +            <merges target="navigator.notification" />
    1.89 +        </js-module>
    1.90 +
    1.91 +    </platform>
    1.92 +
    1.93 +    <!-- ubuntu -->
    1.94 +    <platform name="ubuntu">
    1.95 +        <header-file src="src/ubuntu/notification.h" />
    1.96 +        <source-file src="src/ubuntu/notification.cpp" />
    1.97 +        <resource-file src="src/ubuntu/notification.qml" />
    1.98 +    </platform>
    1.99 +
   1.100 +    <!-- ios -->
   1.101 +    <platform name="ios">
   1.102 +        <config-file target="config.xml" parent="/*">
   1.103 +            <feature name="Notification">
   1.104 +                <param name="ios-package" value="CDVNotification"/>
   1.105 +            </feature>
   1.106 +        </config-file>
   1.107 +        <header-file src="src/ios/CDVNotification.h" />
   1.108 +	    <source-file src="src/ios/CDVNotification.m" />
   1.109 +	    <resource-file src="src/ios/CDVNotification.bundle" />
   1.110 +		<framework src="AudioToolbox.framework" weak="true" />
   1.111 +    </platform>
   1.112 +
   1.113 +    <!-- blackberry10 -->
   1.114 +    <platform name="blackberry10">
   1.115 +        <source-file src="src/blackberry10/index.js" target-dir="Notification" />
   1.116 +        <config-file target="www/config.xml" parent="/widget">
   1.117 +            <feature name="Notification" value="Notification"/>
   1.118 +        </config-file>
   1.119 +        <js-module src="www/blackberry10/beep.js" name="beep">
   1.120 +            <clobbers target="window.navigator.notification.beep" />
   1.121 +        </js-module>
   1.122 +        <source-file src="www/blackberry10/notification-beep.wav" />
   1.123 +    </platform>
   1.124 +
   1.125 +    <!-- wp7 -->
   1.126 +    <platform name="wp7">
   1.127 +        <config-file target="config.xml" parent="/*">
   1.128 +            <feature name="Notification">
   1.129 +                <param name="wp-package" value="Notification"/>
   1.130 +            </feature>
   1.131 +        </config-file>
   1.132 +
   1.133 +        <source-file src="src/wp/Notification.cs" />
   1.134 +        <source-file src="src/wp/NotificationBox.xaml.cs" />
   1.135 +        <source-file src="src/wp/NotificationBox.xaml" />
   1.136 +        <source-file src="src/wp/notification-beep.wav" />
   1.137 +    </platform>
   1.138 +
   1.139 +    <!-- wp8 -->
   1.140 +    <platform name="wp8">
   1.141 +        <config-file target="config.xml" parent="/*">
   1.142 +            <feature name="Notification">
   1.143 +                <param name="wp-package" value="Notification"/>
   1.144 +            </feature>
   1.145 +        </config-file>
   1.146 +
   1.147 +        <source-file src="src/wp/Notification.cs" />
   1.148 +        <source-file src="src/wp/NotificationBox.xaml.cs" />
   1.149 +        <source-file src="src/wp/NotificationBox.xaml" />
   1.150 +        <source-file src="src/wp/notification-beep.wav" />
   1.151 +    </platform>
   1.152 +
   1.153 +    <!-- windows8 -->
   1.154 +    <platform name="windows8">
   1.155 +        <js-module src="src/windows8/NotificationProxy.js" name="NotificationProxy">
   1.156 +            <merges target="" />
   1.157 +        </js-module>
   1.158 +    </platform>
   1.159 +
   1.160 +</plugin>

mercurial