-
Notifications
You must be signed in to change notification settings - Fork 38
/
plugin.xml
130 lines (110 loc) · 5.82 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="clevertap-cordova" version="3.3.0">
<name>CleverTap</name>
<description>CleverTap Plugin for Cordova/PhoneGap</description>
<license>Commercial</license>
<keywords>CleverTap</keywords>
<js-module src="www/CleverTap.js" name="CleverTap">
<clobbers target="CleverTap" />
</js-module>
<preference name="CLEVERTAP_ACCOUNT_ID" />
<preference name="CLEVERTAP_TOKEN" />
<preference name="CLEVERTAP_REGION" default=" "/>
<platform name="ios">
<config-file target="*-Info.plist" parent="CleverTapAccountID">
<string>$CLEVERTAP_ACCOUNT_ID</string>
</config-file>
<config-file target="*-Info.plist" parent="CleverTapToken">
<string>$CLEVERTAP_TOKEN</string>
</config-file>
<config-file target="*-Info.plist" parent="CleverTapRegion">
<string>$CLEVERTAP_REGION</string>
</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 target="config.xml" parent="/*">
<feature name="CleverTapPlugin">
<param name="ios-package" value="CleverTapPlugin"/>
</feature>
</config-file>
<podspec>
<config>
<source url="https://github.com/CleverTap/clevertap-ios-sdk.git" />
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods>
<pod name="CleverTap-iOS-SDK" spec="7.0.3" />
</pods>
</podspec>
<!-- <framework src="CleverTap-iOS-SDK" type="podspec" spec="5.1.2" />-->
<header-file src="src/ios/AppDelegate+CleverTapPlugin.h" />
<source-file src="src/ios/AppDelegate+CleverTapPlugin.m" />
<header-file src="src/ios/CleverTapPlugin.h" />
<source-file src="src/ios/CleverTapPlugin.m" />
<header-file src="src/ios/CleverTapPluginAppFunctionPresenter.h" />
<source-file src="src/ios/CleverTapPluginAppFunctionPresenter.m" />
<header-file src="src/ios/CleverTapPluginCustomTemplates.h" />
<source-file src="src/ios/CleverTapPluginCustomTemplates.m" />
<header-file src="src/ios/CleverTapPluginTemplatePresenter.h" />
<source-file src="src/ios/CleverTapPluginTemplatePresenter.m" />
</platform>
<platform name="android">
<preference name="FIREBASE_MESSAGING_VERSION" default="23.0.6"/>
<config-file target="config.xml" parent="/*">
<feature name="CleverTapPlugin" >
<param name="android-package" value="com.clevertap.cordova.CleverTapPlugin"/>
</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" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service
android:exported="true"
android:name="com.clevertap.android.sdk.pushnotification.fcm.FcmMessageListenerService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<service
android:name="com.clevertap.android.sdk.pushnotification.CTNotificationIntentService"
android:exported="false">
<intent-filter>
<action android:name="com.clevertap.PUSH_EVENT"/>
</intent-filter>
</service>
<meta-data android:name="CLEVERTAP_ACCOUNT_ID" android:value="$CLEVERTAP_ACCOUNT_ID" />
<meta-data android:name="CLEVERTAP_TOKEN" android:value="$CLEVERTAP_TOKEN" />
<meta-data android:name="CLEVERTAP_REGION" android:value="$CLEVERTAP_REGION" />
<receiver
android:name="com.clevertap.android.sdk.pushnotification.CTPushNotificationReceiver"
android:exported="false"
android:enabled="true">
</receiver>
</config-file>
<source-file src="src/android/google-services.json" target-dir="." />
<source-file src="src/android/CleverTapPlugin.java" target-dir="src/com/clevertap/cordova/" />
<source-file src="src/android/CleverTapEventEmitter.java" target-dir="src/com/clevertap/cordova/" />
<source-file src="src/android/CleverTapCustomTemplates.java" target-dir="src/com/clevertap/cordova/" />
<framework src="com.google.firebase:firebase-messaging:$FIREBASE_MESSAGING_VERSION" />
<framework src="com.clevertap.android:clevertap-android-sdk:7.0.3"/>
<framework src="com.github.bumptech.glide:glide:4.12.0"/>
<framework src="androidx.appcompat:appcompat:1.6.0-rc01"/>
<framework src="androidx.core:core:1.9.0" />
<framework src="androidx.fragment:fragment:1.3.6"/>
<framework src="androidx.recyclerview:recyclerview:1.2.1"/>
<framework src="androidx.viewpager:viewpager:1.0.0" />
<framework src="com.google.android.material:material:1.4.0"/>
<framework src="com.android.installreferrer:installreferrer:2.2"/>
<framework src="androidx.media3:media3-exoplayer:1.1.1"/>
<framework src="androidx.media3:media3-exoplayer-hls:1.1.1"/>
<framework src="androidx.media3:media3-ui:1.1.1"/>
<hook type="after_plugin_add" src="scripts/androidAfterPluginAdd.js" />
</platform>
</plugin>