forked from telerik-boneyard/cordova-plugin-analytics
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
94 lines (84 loc) · 3.94 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.telerik.plugin.telerikanalytics"
version="3.4.1">
<dependency id="uk.co.whiteoctober.cordova.appversion" url="https://github.com/Telerik-Verified-Plugins/AppVersion" commit="master" />
<engines>
<engine name="cordova" version=">=3.4.0" />
</engines>
<name>Telerik Analytics</name>
<author>Telerik</author>
<description>The official plugin for Telerik Analytics</description>
<url>http://docs.telerik.com/platform/analytics/</url>
<keywords>telerik,analytics</keywords>
<license>Apache 2.0 License</license>
<access origin="*.monitor-eqatec.com"/>
<js-module src="www/EqatecAnalytics.js" name="EqatecAnalytics">
<clobbers target="plugins.EqatecAnalytics" />
</js-module>
<preference name="PRODUCT_ID" default="YourKeyHere"/>
<preference name="AUTO_TRACK_KENDO_EVENTS" default="false"/>
<preference name="AUTO_TRACK_EXCEPTIONS" default="false"/>
<!-- android -->
<platform name="android">
<source-file target-dir="src/com/telerik/plugin/eqatecanalytics" src="src/android/com/telerik/plugin/eqatecanalytics/EqatecAnalyticsPlugin.java"/>
<source-file target-dir="src/com/telerik/plugin/eqatecanalytics" src="src/android/com/telerik/plugin/eqatecanalytics/Logger.java"/>
<source-file target-dir="libs" src="lib/android/analyticsmonitor.jar"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="EqatecAnalytics">
<param name="android-package" value="com.telerik.plugin.eqatecanalytics.EqatecAnalyticsPlugin"/>
</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" />
</config-file>
<config-file target="res/values/strings.xml" parent="/*">
<string name="autoTrackExceptions">$AUTO_TRACK_EXCEPTIONS</string>
<string name="autoTrackKendoEvents">$AUTO_TRACK_KENDO_EVENTS</string>
<string name="productId">$PRODUCT_ID</string>
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<header-file src="src/ios/EqatecAnalyticsPlugin.h" />
<source-file src="src/ios/EqatecAnalyticsPlugin.mm" />
<header-file src="lib/ios/EQATECAnalyticsMonitor.h" />
<source-file src="lib/ios/libEQATECAnalyticsMonitoriOS.a" framework="true" />
<framework src="libc++.dylib"/>
<config-file target="config.xml" parent="/*">
<feature name="EqatecAnalytics">
<param name="ios-package" value="EqatecAnalyticsPlugin" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="autoTrackExceptions">
<string>$AUTO_TRACK_EXCEPTIONS</string>
</config-file>
<config-file target="*-Info.plist" parent="autoTrackKendoEvents">
<string>$AUTO_TRACK_KENDO_EVENTS</string>
</config-file>
<config-file target="*-Info.plist" parent="productId">
<string>$PRODUCT_ID</string>
</config-file>
</platform>
<!-- wp8 -->
<platform name="wp8">
<source-file src="src/wp/EqatecAnalytics.cs" />
<framework src="lib/wp/EQATEC.Analytics.MonitorWP.dll" custom="true"/>
<framework src="lib/wp/Newtonsoft.Json.dll" custom="true"/>
<config-file target="config.xml" parent="/*">
<feature name="EqatecAnalytics">
<param name="wp-package" value="EqatecAnalytics" />
</feature>
<preference name="autoTrackExceptions" value="$AUTO_TRACK_EXCEPTIONS" />
<preference name="autoTrackKendoEvents" value="$AUTO_TRACK_KENDO_EVENTS" />
<preference name="productId" value="$PRODUCT_ID" />
</config-file>
<config-file target="WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
</config-file>
</platform>
</plugin>