forked from newrelic/newrelic-cordova-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
119 lines (103 loc) · 5.41 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
<!--
Copyright (c) 2022-present New Relic Corporation. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="newrelic-cordova-plugin" version="6.2.1">
<name>NewRelic</name>
<description>New Relic Cordova Plugin for iOS and Android</description>
<author>New Relic</author>
<license>New Relic</license>
<keywords>cordova,newrelic,monitoring,ios,android</keywords>
<engines>
<engine name="cordova" version=">=4.0.0" />
<engine name="cordova-ios" version=">=4.0.0" />
<engine name="cordova-android" version=">=5.0.0" />
</engines>
<preference name="PLUGIN_VERSION" default="6.2.1" />
<preference name="CRASH_REPORTING_ENABLED" default="true" />
<preference name="DISTRIBUTED_TRACING_ENABLED" default="true" />
<preference name="INTERACTION_TRACING_ENABLED" default="true" />
<preference name="DEFAULT_INTERACTIONS_ENABLED" default="true" />
<preference name="LOGGING_ENABLED" default="true" />
<preference name="LOG_LEVEL" default="default" />
<preference name="WEB_VIEW_INSTRUMENTATION" default="true" />
<preference name="COLLECTOR_ADDRESS" default="x" />
<preference name="CRASH_COLLECTOR_ADDRESS" default="x" />
<preference name="FEDRAMP_ENABLED" default="false" />
<platform name="ios">
<preference name="IOS_APP_TOKEN" default="x" />
<js-module name="NewRelic" src="www/js/newrelic.js">
<clobbers target="NewRelic" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="NewRelicCordovaPlugin">
<preference name="IOS_APP_TOKEN" value="$IOS_APP_TOKEN" />
<preference name="PLUGIN_VERSION" value="$PLUGIN_VERSION" />
<preference name="CRASH_REPORTING_ENABLED" value="$CRASH_REPORTING_ENABLED" />
<preference name="DISTRIBUTED_TRACING_ENABLED" value="$DISTRIBUTED_TRACING_ENABLED" />
<preference name="INTERACTION_TRACING_ENABLED" value="$INTERACTION_TRACING_ENABLED" />
<preference name="DEFAULT_INTERACTIONS_ENABLED" value="$DEFAULT_INTERACTIONS_ENABLED" />
<preference name="LOGGING_ENABLED" value="$LOGGING_ENABLED" />
<preference name="LOG_LEVEL" value="$LOG_LEVEL" />
<preference name="WEB_VIEW_INSTRUMENTATION" value="$WEB_VIEW_INSTRUMENTATION" />
<preference name="COLLECTOR_ADDRESS" value="$COLLECTOR_ADDRESS" />
<preference name="CRASH_COLLECTOR_ADDRESS" value="$CRASH_COLLECTOR_ADDRESS" />
<preference name="FEDRAMP_ENABLED" value="$FEDRAMP_ENABLED" />
<param name="ios-package" value="NewRelicCordovaPlugin" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/NewRelicCordovaPlugin.h" />
<source-file src="src/ios/NewRelicCordovaPlugin.m" />
<framework src="CoreTelephony.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="libz.dylib" />
<framework src="libc++.dylib" />
<podspec>
<config>
<source url="https://cdn.cocoapods.org/" />
</config>
<pods use-frameworks="true">
<pod name="NewRelicAgent" spec="7.4.5" />
</pods>
</podspec>
<hook type="before_plugin_uninstall" src="hooks/ios/before_plugin_uninstall.js" />
<hook type="after_plugin_install" src="hooks/ios/after_plugin_install.js" />
</platform>
<platform name="android">
<preference name="ANDROID_APP_TOKEN" default="x" />
<preference name="ANDROID_AGENT_VER" default="6.11.1" />
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<js-module name="NewRelic" src="www/js/newrelic.js">
<clobbers target="NewRelic" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="NewRelicCordovaPlugin">
<param name="android-package" value="com.newrelic.cordova.plugin.NewRelicCordovaPlugin" />
<param name="onload" value="true" />
</feature>
<preference name="ANDROID_APP_TOKEN" value="$ANDROID_APP_TOKEN" />
<preference name="PLUGIN_VERSION" value="$PLUGIN_VERSION" />
<preference name="CRASH_REPORTING_ENABLED" value="$CRASH_REPORTING_ENABLED" />
<preference name="DISTRIBUTED_TRACING_ENABLED" value="$DISTRIBUTED_TRACING_ENABLED" />
<preference name="INTERACTION_TRACING_ENABLED" value="$INTERACTION_TRACING_ENABLED" />
<preference name="DEFAULT_INTERACTIONS_ENABLED" value="$DEFAULT_INTERACTIONS_ENABLED" />
<preference name="LOGGING_ENABLED" value="$LOGGING_ENABLED" />
<preference name="LOG_LEVEL" value="$LOG_LEVEL" />
<preference name="WEB_VIEW_INSTRUMENTATION" value="$WEB_VIEW_INSTRUMENTATION" />
<preference name="COLLECTOR_ADDRESS" value="$COLLECTOR_ADDRESS" />
<preference name="CRASH_COLLECTOR_ADDRESS" value="$CRASH_COLLECTOR_ADDRESS" />
<preference name="FEDRAMP_ENABLED" value="$FEDRAMP_ENABLED" />
</config-file>
<source-file src="src/android/NewRelicCordovaPlugin.java"
target-dir="src/com/newrelic/cordova/plugin" />
<source-file src="src/android/NewRelicCordovaException.java"
target-dir="src/com/newrelic/cordova/plugin" />
<hook type="before_plugin_uninstall" src="hooks/android/before_plugin_uninstall.js" />
<hook type="after_plugin_install" src="hooks/android/after_plugin_install.js" />
</platform>
</plugin>