forked from aerogear/aerogear-cordova-push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·112 lines (109 loc) · 5.26 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="org.jboss.aerogear.cordova.push" version="2.0.1">
<name>
AeroGear PushPlugin
</name>
<description>
This plugin allows your application to receive push notifications, using the AeroGear Unified Push Server.
</description>
<license>
MIT
</license>
<keywords>cordova,aerogear,push,ups,unified,push</keywords>
<engines>
<engine name="cordova" version=">=3.4.0"/>
<engine name="cordova-android" version=">=4.0.0" />
</engines>
<dependency id="es6-promise-plugin" url="https://github.com/vstirbu/PromisesPlugin.git"/>
<js-module src="www/aerogear.ajax.js" name="AeroGear.ajax">
<clobbers target="ajax" />
</js-module>
<js-module src="www/aerogear-push.js" name="AeroGear.UnifiedPush">
<clobbers target="push"/>
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PushPlugin">
<param name="android-package" value="org.jboss.aerogear.cordova.push.PushPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
<uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="org.jboss.aerogear.cordova.push.PushHandlerActivity"/>
<receiver android:name="org.jboss.aerogear.android.unifiedpush.gcm.AeroGearGCMMessageReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
<category android:name="$PACKAGE_NAME"/>
</intent-filter>
<meta-data android:name="DEFAULT_MESSAGE_HANDLER_KEY" android:value="org.jboss.aerogear.cordova.push.NotificationMessageHandler"/>
</receiver>
</config-file>
<framework src="src/android/dependencies.gradle" type="gradleReference" custom="true"/>
<source-file src="src/android/org/jboss/aerogear/cordova/push/NotificationMessageHandler.java" target-dir="src/org/jboss/aerogear/cordova/push/"/>
<source-file src="src/android/org/jboss/aerogear/cordova/push/PushPlugin.java" target-dir="src/org/jboss/aerogear/cordova/push/"/>
<source-file src="src/android/org/jboss/aerogear/cordova/push/PushHandlerActivity.java" target-dir="src/org/jboss/aerogear/cordova/push/"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PushPlugin">
<param name="ios-package" value="AGPushPlugin"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>remote-notification</string>
</array>
</config-file>
<source-file src="src/ios/AppDelegate+notification.m"/>
<source-file src="src/ios/AGPushPlugin.m"/>
<header-file src="src/ios/AppDelegate+notification.h"/>
<header-file src="src/ios/AGPushPlugin.h"/>
<header-file src="src/ios/AGDeviceRegistration.h"/>
<header-file src="src/ios/AGClientDeviceInformation.h"/>
<header-file src="src/ios/AGPushAnalytics.h"/>
<header-file src="src/ios/AeroGearPush.h"/>
<source-file src="src/ios/libpush-sdk-1.1.0-beta.1.a" framework="true"/>
</platform>
<platform name="firefoxos">
<config-file target="config.xml" parent="/*">
<permission name="push"/>
<permission name="desktop-notification" />
</config-file>
<js-module src="src/firefoxos/aerogear.custom.js" name="api">
<runs />
</js-module>
<js-module src="src/firefoxos/pushProxy.js" name="AeroGear.UnifiedPushProxy">
<runs />
</js-module>
</platform>
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="PushPlugin">
<param name="wp-package" value="PushPlugin"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_PUSH_NOTIFICATION" />
</config-file>
<source-file src="src/wp8/PushPlugin.cs" />
<source-file src="src/wp8/P.xaml" />
<source-file src="src/wp8/P.xaml.cs" />
<source-file src="src/wp8/shared/ILocalStore.cs" />
<source-file src="src/wp8/shared/Installation.cs" />
<source-file src="src/wp8/shared/PushReceivedEvent.cs" />
<source-file src="src/wp8/shared/IUPSHttpClient.cs" />
<source-file src="src/wp8/shared/PushNotification.cs" />
<source-file src="src/wp8/shared/Registration.cs" />
<source-file src="src/wp8/shared/UrlQueryParser.cs" />
<source-file src="src/wp8/shared/PushConfig.cs" />
<source-file src="src/wp8/shared/UPSHttpClient.cs" />
<source-file src="src/wp8/cordova/LocalStore.cs" />
<source-file src="src/wp8/cordova/MpnsRegistration.cs" />
</platform>
</plugin>