-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
120 lines (91 loc) · 5.15 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
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.stratogos.cordova.parsePushNotifications"
version="0.1.0">
<name>ParsePushNotifications</name>
<description>Cordova Parse Push Notification Plugin</description>
<author>Asi Farran</author>
<license>Apache 2.0</license>
<keywords>cordova,parse,push</keywords>
<js-module src="www/parsePushNotifications.js" name="ParsePushNotifications">
<clobbers target="plugin.parse_push" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ParsePushNotificationPlugin">
<param name="ios-package" value="ParsePushNotificationPlugin" />
</feature>
</config-file>
<header-file src="src/ios/AppDelegate+parsePushNotification.h" />
<source-file src="src/ios/AppDelegate+parsePushNotification.m" />
<header-file src="src/ios/ParsePushNotificationPlugin.h" />
<source-file src="src/ios/ParsePushNotificationPlugin.m" />
<header-file src="src/ios/SSKeyChain/SSKeychain.h" />
<source-file src="src/ios/SSKeyChain/SSKeychain.m" />
<header-file src="src/ios/SSKeyChain/SSKeychainQuery.h" />
<source-file src="src/ios/SSKeyChain/SSKeychainQuery.m" />
<framework src="libz.dylib" />
<framework src="Accounts.framework" />
<framework src="Social.framework" />
<framework src="AudioToolbox.framework" />
<framework src="CFNetwork.framework" />
<framework src="CoreLocation.framework" />
<framework src="QuartzCore.framework" />
<framework src="Security.framework" />
<framework src="StoreKit.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="src/ios/lib/Parse.framework" custom="true"/>
<!-- <framework src="src/ios/lib/parse-library-1.4.1/Bolts.framework" custom="true"/> -->
<resource-file src="src/ios/SSKeyChain/en.lproj/SSKeychain.strings"/>
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="ParsePushNotificationPlugin">
<param name="android-package" value="com.stratogos.cordova.parsePushNotifications.ParsePushNotificationPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<permission android:protectionLevel="signature" android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
<uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.stratogos.cordova.parsePushNotifications.PushHandlerActivity"/>
<service android:name="com.stratogos.cordova.parsePushNotifications.GCMIntentService"/>
<service android:name="com.parse.PushService" />
<receiver android:name="com.parse.ParseBroadcastReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="com.stratogos.cordova.parsePushNotifications.GCMReceiver">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="$PACKAGE_NAME" />
</intent-filter>
</receiver>
<receiver android:name="com.parse.GcmBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter >
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="$PACKAGE_NAME" />
</intent-filter>
</receiver>
</config-file>
<source-file src="src/android/GCMIntentService.java" target-dir="src/com/stratogos/cordova/parsePushNotifications/" />
<source-file src="src/android/GCMReceiver.java" target-dir="src/com/stratogos/cordova/parsePushNotifications/" />
<source-file src="src/android/ParsePushNotificationPlugin.java" target-dir="src/com/stratogos/cordova/parsePushNotifications/" />
<source-file src="src/android/PushHandlerActivity.java" target-dir="src/com/stratogos/cordova/parsePushNotifications/" />
<source-file src="src/android/ParseApplication.java" target-dir="src/com/stratogos/cordova/parsePushNotifications/" />
<source-file src="src/android/lib/android/gcm.jar" target-dir="libs/" framework="true" />
<source-file src="src/android/lib/parse/Parse-1.7.0/Parse-1.7.0.jar" target-dir="libs/" framework="true" />
</platform>
</plugin>