forked from benjie/phonegap-parse-plugin
-
Notifications
You must be signed in to change notification settings - Fork 102
/
plugin.xml
109 lines (98 loc) · 5.32 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="parse-push-plugin" version="1.0.8">
<name>ParsePushPlugin</name>
<description>Parse.Push plugin for phonegap/cordova/ionic framework</description>
<keywords>cordova,phonegap,ionic framework, parse server, parse push, push notification</keywords>
<js-module src="www/parse-push-plugin.js" name="ParsePushPlugin">
<clobbers target="ParsePushPlugin" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ParsePushPlugin">
<param name="android-package" value="github.taivo.parsepushplugin.ParsePushPlugin" />
</feature>
</config-file>
<config-file target="app/src/main/AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.parse.PushService" />
<receiver android:exported="false" android:name="github.taivo.parsepushplugin.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="${applicationId}" />
</intent-filter>
</receiver>
</config-file>
<config-file target="app/src/main/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="com.google.android.c2dm.permission.RECEIVE" />
<permission android:protectionLevel="signature" android:name="${applicationId}.permission.C2D_MESSAGE" />
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
</config-file>
<framework src="com.parse:parse-android:1.16.7" />
<framework src="com.android.support:support-v4:+" />
<framework src="me.leolin:ShortcutBadger:1.1.17@aar" />
<source-file src="src/android/ParsePushPlugin.java" target-dir="src/github/taivo/parsepushplugin" />
<source-file src="src/android/ParsePushPluginReceiver.java" target-dir="src/github/taivo/parsepushplugin" />
<source-file src="src/android/ParsePushConfigReader.java" target-dir="src/github/taivo/parsepushplugin" />
<source-file src="src/android/ParsePushConfigException.java" target-dir="src/github/taivo/parsepushplugin" />
<source-file src="src/android/ParsePushApplication.java" target-dir="src/github/taivo/parsepushplugin" />
<!-- hook to simplify default installation -->
<hook type="before_plugin_install" src="scripts/beforeAndroidInstall.js" />
<hook type="before_plugin_uninstall" src="scripts/beforeAndroidUninstall.js" />
<hook type="after_prepare" src="scripts/afterAndroidPrepare.js" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ParsePushPlugin">
<param name="ios-package" value="ParsePushPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="*-Debug.plist" parent="aps-environment">
<string>development</string>
</config-file>
<config-file target="*-Release.plist" parent="aps-environment">
<string>production</string>
</config-file>
<header-file src="src/ios/ParsePushPlugin.h" />
<source-file src="src/ios/ParsePushPlugin.m" />
<header-file src="src/ios/AppDelegate+parsepush.h" />
<source-file src="src/ios/AppDelegate+parsepush.m" />
<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="libz.tbd" />
<framework src="libsqlite3.tbd" />
<framework src="src/ios/Frameworks/Parse.framework" custom="true" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="Bolts" git="https://github.com/BoltsFramework/Bolts-ObjC" branch="master" />
</pods>
</podspec>
</platform>
<platform name="windows">
<js-module src="src/windows/jsTimezoneDetect.min.js" name="jsTimezoneDetect" />
<js-module src="src/windows/ParsePushPluginProxy.js" name="ParsePushPluginProxy">
<merges target="" />
</js-module>
</platform>
</plugin>