forked from avivais/phonegap-parse-plugin
-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.xml
114 lines (101 loc) · 5.43 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
110
111
112
113
114
<?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.2.1">
<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:exported="true" android:name="com.parse.fcm.ParseFirebaseInstanceIdService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<service android:exported="true" android:name="com.parse.fcm.ParseFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<receiver android:name="github.taivo.parsepushplugin.ParsePushPluginReceiver" 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>
<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.VIBRATE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
</config-file>
<config-file target="config.xml" parent="/*">
<preference name="GradlePluginGoogleServicesEnabled" value="true"/>
</config-file>
<framework src="com.github.parse-community.Parse-SDK-Android:parse:4.2.1" />
<framework src="com.github.parse-community.Parse-SDK-Android:fcm:4.2.1" />
<framework src="me.leolin:ShortcutBadger:1.1.17@aar" />
<framework src="src/android/parse-push-plugin.gradle" custom="true" type="gradleReference" />
<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="main" />
</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>