-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplugin.xml
85 lines (84 loc) · 4.17 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="wonderpush-cordova-sdk" version="3.3.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>WonderPush</name>
<description>Advanced push notification service for mobile applications and Websites. High volume, fast delivery and full-featured starting €1/month.</description>
<author>WonderPush</author>
<keywords>wonderpush,push,notification,notifications,push notification,push notifications,apn,apns,gcm,fcm,android,ios</keywords>
<license>Apache-2.0</license>
<engines>
<engine name="cordova-android" version=">=8.0.0" />
<engine name="cordova-ios" version=">=5.0.0" />
</engines>
<js-module name="WonderPush" src="www/WonderPush.js">
<clobbers target="cordova.plugins.WonderPush" />
<clobbers target="plugins.WonderPush" />
<clobbers target="WonderPush" />
</js-module>
<hook type="after_prepare" src="src/ios/hooks/addNotificationServiceExtension.js" />
<hook type="after_plugin_add" src="src/ios/hooks/addNotificationServiceExtension.js" />
<hook type="before_plugin_rm" src="src/ios/hooks/removeNotificationServiceExtension.js" />
<platform name="android">
<preference name="CLIENT_ID" />
<preference name="CLIENT_SECRET" />
<preference name="LOGGING" default="false" />
<preference name="AUTO_INIT" default="true" />
<preference name="REQUIRES_USER_CONSENT" default="false" />
<framework src="com.wonderpush:wonderpush-android-sdk:4.4.1" />
<framework src="androidx.localbroadcastmanager:localbroadcastmanager:1.0.0" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.wonderpush.sdk.delegateClass" android:value="com.wonderpush.sdk.cordova.Delegate" />
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="WonderPushPlugin">
<param name="android-package" value="com.wonderpush.sdk.cordova.WonderPushPlugin" />
</feature>
</config-file>
<framework src="build-extras.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/WonderPushPlugin.java" target-dir="src/com/wonderpush/sdk/cordova" />
<source-file src="src/android/JSONUtil.java" target-dir="src/com/wonderpush/sdk/cordova" />
<source-file src="src/android/Delegate.java" target-dir="src/com/wonderpush/sdk/cordova" />
</platform>
<platform name="ios">
<preference name="CLIENT_ID" />
<preference name="CLIENT_SECRET" />
<preference name="LOGGING" default="false" />
<preference name="AUTO_INIT" default="true" />
<preference name="REQUIRES_USER_CONSENT" default="false" />
<config-file target="config.xml" parent="/*">
<feature name="WonderPushPlugin">
<param name="ios-package" value="WonderPushPlugin"/>
<param name="onload" value="true" />
</feature>
<preference name="WONDERPUSH_CLIENT_ID" value="$CLIENT_ID" />
<preference name="WONDERPUSH_CLIENT_SECRET" value="$CLIENT_SECRET" />
<preference name="WONDERPUSH_LOGGING" value="$LOGGING" />
<preference name="WONDERPUSH_AUTO_INIT" value="$AUTO_INIT" />
<preference name="WONDERPUSH_REQUIRES_USER_CONSENT" value="$REQUIRES_USER_CONSENT" />
</config-file>
<framework src="SystemConfiguration.framework" />
<framework src="CoreGraphics.framework" />
<framework src="UIKit.framework" />
<framework src="CoreTelephony.framework" />
<framework src="CoreLocation.framework" />
<framework src="WebKit.framework" />
<podspec>
<config />
<pods use-frameworks="true">
<pod name="WonderPush" spec="4.3.1" />
</pods>
</podspec>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>remote-notification</string>
</array>
</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/WonderPushPlugin.h" />
<source-file src="src/ios/WonderPushPlugin.m" />
</platform>
</plugin>