This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.xml
49 lines (43 loc) · 1.94 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-chrome-apps-notifications"
version="1.3.2-dev">
<engines>
<engine name="cordova-android" version=">=4" />
</engines>
<name>Chrome Apps Notifications API</name>
<keywords>chrome,notification</keywords>
<repo>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-notifications.git</repo>
<issue>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-notifications/issues</issue>
<dependency id="cordova-plugin-chrome-apps-common@1" />
<dependency id="cordova-plugin-chrome-apps-runtime@1" />
<dependency id="cordova-plugin-chrome-apps-storage@1" />
<platform name="android">
<dependency id="cordova-plugin-background-app@2" />
<framework src="com.android.support:support-v4:+" />
<js-module src="notifications.js" name="notifications">
<clobbers target="chrome.notifications" />
</js-module>
<source-file src="src/android/ChromeNotifications.java" target-dir="src/org/chromium" />
<source-file src="src/android/ChromeNotificationsReceiver.java" target-dir="src/org/chromium" />
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="ChromeNotifications">
<param name="android-package" value="org.chromium.ChromeNotifications"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="org.chromium.ChromeNotificationsReceiver" />
</config-file>
</platform>
<platform name="ios">
<js-module src="notifications.js" name="notifications">
<clobbers target="chrome.notifications" />
</js-module>
</platform>
</plugin>