-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
97 lines (86 loc) · 4.61 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="xu.li.cordova.parse" version="0.5.1">
<name>Parse.com</name>
<description>Cordova Plugin for Parse.com</description>
<license>MIT</license>
<keywords>cordova,parse.com</keywords>
<repo>https://github.com/xu-li/cordova-plugin-parse</repo>
<issue>https://github.com/xu-li/cordova-plugin-parse/issues</issue>
<!-- JS -->
<js-module src="www/parse.js" name="parse">
<clobbers target="cordova.plugins.Parse" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Parse">
<param name="ios-package" value="CDVParse" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVParse.h" />
<source-file src="src/ios/CDVParse.m" />
<header-file src="src/ios/AppDelegate+CDVParse.h" />
<source-file src="src/ios/AppDelegate+CDVParse.m" />
<!-- Parse official frameworks -->
<framework src="src/ios/frameworks/parse/1.6.1/Bolts.framework" custom="true" />
<framework src="src/ios/frameworks/parse/1.6.1/Parse.framework" custom="true" />
<framework src="src/ios/frameworks/parse/1.6.1/ParseCrashReporting.framework" custom="true" />
<!-- Required frameworks -->
<framework src="AudioToolbox.framework" />
<framework src="CFNetwork.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreLocation.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="QuartzCore.framework" />
<framework src="Security.framework" />
<framework src="StoreKit.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="libstdc++.6.dylib" />
<framework src="libz.dylib" />
<framework src="libsqlite3.dylib" />
<framework src="Accounts.framework" />
<framework src="Social.framework" />
</platform>
<!-- android -->
<platform name="android">
<js-module src="www/android/callback.js" name="parse.android.callback">
<runs />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Parse">
<param name="android-package" value="xu.li.cordova.parse.ParsePlugin"/>
<param name="onload" value="true" />
</feature>
</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.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
</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="xu.li.cordova.parse.ParsePluginPushBroadcastReceiver" android:exported="false">
<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>
</config-file>
<source-file src="src/android/ParsePlugin.java" target-dir="src/xu/li/cordova/parse" />
<source-file src="src/android/ParsePluginApplication.java" target-dir="src/xu/li/cordova/parse" />
<source-file src="src/android/ParsePluginConfig.java" target-dir="src/xu/li/cordova/parse" />
<source-file src="src/android/ParsePluginPushBroadcastReceiver.java" target-dir="src/xu/li/cordova/parse" />
<source-file src="src/android/libs/parse/1.8.0/bolts-android-1.1.4.jar" target-dir="libs" />
<source-file src="src/android/libs/parse/1.8.0/Parse-1.8.0.jar" target-dir="libs" />
<source-file src="src/android/libs/parse/1.8.0/ParseCrashReporting-1.8.0.jar" target-dir="libs" />
</platform>
</plugin>