This repository has been archived by the owner on Apr 13, 2021. It is now read-only.
forked from mgcrea/cordova-push-notification
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
57 lines (47 loc) · 1.82 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
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.movencorp.cordova.pushnotification"
version="0.0.1">
<name>Push Notification</name>
<description>Cordova Push Notification Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,push,notification</keywords>
<js-module src="www/PushNotification.js" name="PushNotification">
<clobbers target="navigator.pushNotification" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="org.apache.cordova.plugins.PushNotification"
android:label="@string/app_name">
<intent-filter>
</intent-filter>
</activity>
</config-file>
<!-- Cordova 1.5 - 1.9 -->
<config-file target="res/xml/plugins.xml" parent="/plugins">
<plugin name="PushNotification"
value="org.apache.cordova.plugins.PushNotification"/>
</config-file>
<!-- Cordova 2.0.0 -->
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
<plugin name="PushNotification"
value="org.apache.cordova.plugins.PushNotification"/>
</config-file>
<source-file src="src/android/PushNotification.java"
target-dir="org/apache/cordova/plugins/PushNotification" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PushNotification">
<param name="ios-package" value="PushNotification" />
</feature>
</config-file>
<header-file src="src/ios/PushNotification.h" />
<source-file src="src/ios/PushNotification.m" />
<header-file src="src/ios/AppDelegate+Notification.h" />
<source-file src="src/ios/AppDelegate+Notification.m" />
</platform>
</plugin>