forked from taivo/parse-push-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
55 lines (50 loc) · 2.99 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
<?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.gmail.mikkokam.plugins.ParsePushPlugin" version="0.2.3">
<name>ParsePushPlugin</name>
<description>Phonegap plugin for Parse.com push notification</description>
<license>Apache 2.0</license>
<keywords>cordova,PushParse</keywords>
<js-module src="www/cdv-plugin-parse.js" name="ParsePushPlugin">
<clobbers target="ParsePushPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ParsePushPlugin">
<param name="android-package" value="com.gmail.mikkokam.plugins.ParsePushPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.parse.PushService" />
<receiver android:exported="false" android:name="com.gmail.mikkokam.plugins.ParsePushPluginReceiver">
<intent-filter>
<action android:name="com.parse.push.intent.RECEIVE" />
<action android:name="com.parse.push.intent.DELETE" />
<action android:name="com.parse.push.intent.OPEN" />
</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>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission android:protectionLevel="signature" android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
<uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
</config-file>
<source-file src="src/android/parse/Parse-1.7.1.jar" target-dir="libs" framework="true" />
<source-file src="src/android/parse/bolts-android-1.1.3.jar" target-dir="libs" framework="true" />
<source-file src="src/android/ParsePushPlugin.java" target-dir="src/com/gmail/mikkokam/plugins" />
<source-file src="src/android/ParsePushPluginReceiver.java" target-dir="src/com/gmail/mikkokam/plugins" />
</platform>
</plugin>