-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathplugin.xml
96 lines (81 loc) · 3.96 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
<?xml version='1.0' encoding='utf-8'?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com-infobip-plugins-mobilemessaging"
version="6.0.0">
<name>MobileMessagingCordova</name>
<keywords>Infobip,push,cordova</keywords>
<engines>
<engine name="cordova-android" version=">=4.1.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<dependency id="cordova-plugin-add-swift-support"/>
<dependency id="cordova-custom-config"/>
<js-module name="mobileMessaging" src="www/MobileMessagingCordova.js">
<clobbers target="mobileMessaging" />
</js-module>
<hook type="before_build" src="scripts/hms_fix_dependencies.js"/>
<hook type="after_plugin_add" src="scripts/installDependencies.js"/>
<hook type="after_prepare" src="scripts/android_fix_google_app_id.js"/>
<hook type="before_prepare" src="scripts/integrate_notification_extension.js"/>
<preference name="ANDROID_SUPPORT_VER_OVERRIDE" default="false" />
<preference name="ANDROID_GMS_VER_OVERRIDE" default="false" />
<preference name="ANDROID_FIREBASE_VER_OVERRIDE" default="false" />
<platform name="ios">
<config-file parent="UIBackgroundModes" target="*Info.plist">
<array>
<string>remote-notification</string>
</array>
</config-file>
<config-file parent="/widget" target="config.xml">
<feature name="MobileMessagingCordova">
<param name="ios-package" value="MobileMessagingCordova" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
<string>development</string>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Release.plist">
<string>production</string>
</config-file>
<config-file parent="com.apple.developer.icloud-services" target="*/Entitlements-Debug.plist">
<array><string>CloudDocuments</string></array>
</config-file>
<config-file parent="com.apple.developer.icloud-services" target="*/Entitlements-Release.plist">
<array><string>CloudDocuments</string></array>
</config-file>
<podspec>
<pods use-frameworks="true">
<pod name="MobileMessaging" spec="12.18.0" />
<pod name="MobileMessaging/InAppChat" spec="12.18.0" />
<pod name="MobileMessaging/Inbox" spec="12.18.0" />
</pods>
</podspec>
<source-file src="src/ios/MobileMessagingCordova.swift" />
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="MobileMessagingCordova">
<param name="android-package" value="org.apache.cordova.plugin.MobileMessagingCordova"/>
</feature>
<preference name="IB_ANDROID_SUPPORT_VER_OVERRIDE" value="$ANDROID_SUPPORT_VER_OVERRIDE"/>
<preference name="IB_ANDROID_GMS_VER_OVERRIDE" value="$ANDROID_GMS_VER_OVERRIDE"/>
<preference name="IB_ANDROID_FIREBASE_VER_OVERRIDE" value="$ANDROID_FIREBASE_VER_OVERRIDE"/>
<preference name="IB_ENABLE_HMS_SUPPORT" value="$ENABLE_HMS_SUPPORT"/>
<preference name="IB_ANDROID_USE_CRYPTOR_MIGRATION" value="$ANDROID_USE_CRYPTOR_MIGRATION"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="org.apache.cordova.plugin.MobileMessagingCordova$MessageActionReceiver" android:exported="false">
<intent-filter>
<action android:name="org.infobip.mobile.messaging.MESSAGE_RECEIVED" />
<action android:name="org.infobip.mobile.messaging.NOTIFICATION_TAPPED" />
</intent-filter>
</receiver>
</config-file>
<framework src="libs/android/mobile-messaging-aar.gradle" custom="true" type="gradleReference" />
<framework src="com.google.android.material:material:1.4.0"/>
<framework src="androidx.exifinterface:exifinterface:1.3.3"/>
<source-file src="src/android/MobileMessagingCordova.java" target-dir="src/org/apache/cordova/plugin"/>
</platform>
</plugin>