forked from xydudu/phonegap-parse-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
plugin.xml
78 lines (71 loc) · 3.68 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="org.apache.cordova.core.parseplugin"
version="0.1.0">
<name>phonegap-parse-plugin</name>
<description>phonegap parse plugin</description>
<js-module src="www/cdv-plugin-parse.js" name="ParsePlugin">
<clobbers target="window.parsePlugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ParsePlugin">
<param name="android-package" value="org.apache.cordova.core.ParsePlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<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.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="/manifest">
<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.RECEIVE_BOOT_COMPLETED" />
<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.3.8.jar" target-dir="libs" framework="true" />
<source-file src="src/android/ParsePlugin.java" target-dir="src/org/apache/cordova/core" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ParsePlugin">
<param name="ios-package" value="CDVParsePlugin" />
</feature>
</config-file>
<header-file src="src/ios/CDVParsePlugin.h" />
<source-file src="src/ios/CDVParsePlugin.m" />
<!--<framework src="AssetsLibrary.framework" />-->
<!--<framework src="MobileCoreServices.framework" />-->
<framework src="AudioToolbox.framework" />
<framework src="CFNetwork.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreLocation.framework" />
<framework src="libz.1.1.3.dylib" />
<framework src="MobileCoreServices.framework" />
<framework src="QuartzCore.framework" />
<framework src="Security.framework" />
<framework src="StoreKit.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="src/ios/Frameworks/Parse.framework" custom="true" />
</platform>
</plugin>