-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugin.xml
More file actions
71 lines (61 loc) · 2.7 KB
/
plugin.xml
File metadata and controls
71 lines (61 loc) · 2.7 KB
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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-webengage" version="1.3.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>WebEngagePlugin</name>
<js-module name="WebEngagePlugin" src="www/WebEngagePlugin.js">
<clobbers target="webengage" />
</js-module>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="WebEngagePlugin">
<param name="ios-package" value="WebEngagePlugin" />
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file parent="UIBackgroundModes" target="*Info.plist">
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
</config-file>
<header-file src="src/ios/WebEngagePlugin.h" />
<source-file src="src/ios/WebEngagePlugin.m" />
<header-file src="src/ios/AppDelegate+WebEngagePlugin.h" />
<source-file src="src/ios/AppDelegate+WebEngagePlugin.m" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="WebEngage" />
</pods>
</podspec>
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="WebEngagePlugin">
<param name="android-package" value="com.webengage.cordova.WebEngagePlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver
android:name="com.webengage.sdk.android.InstallTracker"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<meta-data
android:name="com.webengage.child.io"
android:value="io:${io_version}" />
</config-file>
<resource-file src="src/android/version.properties" target="version.properties" />
<source-file src="src/android/WebEngagePlugin.java" target-dir="src/com/webengage/cordova/"/>
<framework src="src/android/WebEngagePlugin.gradle" custom="true" type="gradleReference"/>
</platform>
<hook src="hooks/migrate.js" type="after_plugin_add" />
<hook src="hooks/clean.js" type="before_clean" />
</plugin>