-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
58 lines (57 loc) · 2.46 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-usercentrics" version="0.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>UserCentrics Cordova Plugin</name>
<js-module name="UserCentrics" src="www/UserCentrics.js">
<clobbers target="cordova.plugins.UserCentrics" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinVersion" value="1.8.10" />
<feature name="UserCentrics">
<param name="android-package" value="com.platogo.cordova.usercentrics.UserCentrics" />
</feature>
</config-file>
<preference name="RULE_SET_ID" />
<config-file target="res/values/strings.xml" parent="/*">
<string name="RULE_SET_ID">$RULE_SET_ID</string>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" />
<source-file src="src/android/UserCentrics.kt" target-dir="java/com/platogo/cordova/usercentrics" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<hook type="after_plugin_install" src="scripts/after_plugin_install.js" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="UserCentrics">
<param name="ios-package" value="UserCentrics" />
</feature>
</config-file>
<source-file src="src/ios/UserCentrics.swift" />
<preference name="RULE_SET_ID" />
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>RULE_SET_ID</string>
<key>CFBundleURLSchemes</key>
<array>
<string>RULE_SET_ID</string>
</array>
</dict>
</array>
</config-file>
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="UsercentricsUI" />
</pods>
</podspec>
</platform>
</plugin>