-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
52 lines (48 loc) · 2.5 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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2013 4Shot Development. All rights reserved.
-->
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="jaeger.ParsePushNotifications"
version="1.0.0">
<name>ParsePushNotifications</name>
<author>jaeger25</author>
<repo>https://github.com/jaeger25/ParsePushNotifications.git</repo>
<js-module src="www/ParsePushNotifications.js" name="ParsePushNotifications">
<clobbers target="plugins.parsePushNotifications" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ParsePushNotifications" >
<param name="android-package" value="org.apache.cordova.plugin.ParsePushReceiver"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:name="org.apache.cordova.plugin.ParseActivity" android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<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>
</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.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<source-file src="src/android/ParseApplication.java" target-dir="src/org/apache/cordova/plugin" />
<source-file src="src/android/ParsePushReceiver.java" target-dir="src/org/apache/cordova/plugin" />
<source-file src="src/android/ParseActivity.java" target-dir="src/org/apache/cordova/plugin" />
<source-file src="src/android/libs/Parse-1.3.9.jar" target-dir="libs"/>
</platform>
</plugin>