-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
plugin.xml
76 lines (60 loc) · 3.09 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="sentry-cordova" version="1.4.0">
<name>Sentry</name>
<author>Sentry</author>
<description>Official Sentry SDK for Cordova</description>
<license>MIT</license>
<keywords>ecosystem:cordova,cordova-android,cordova-ios,android,ios,sentry,debugging,errors,exceptions,logging</keywords>
<repo>https://github.com/getsentry/sentry-cordova.git</repo>
<issue>https://github.com/getsentry/sentry-cordova/issues</issue>
<preference name="SENTRY_ANDROID_SDK_VERSION" default="7.14.0"/>
<engines>
<!-- https://issues.apache.org/jira/browse/CB-10239?jql=labels%20%3D%20cordova-8.0.0 -->
<!-- Requires > 8.0.0 because of scoped npm packages -->
<engine name="cordova" version=">=7.0.0" />
<!-- Requires > 3.5.0 because of the custom Framework tag for iOS [CB-6698] -->
<!-- Requires > 4.0.0 because of the Framework tag for Android that uses gradle -->
<engine name="cordova-android" version=">=3.5.0" />
<engine name="cordova-ios" version=">=4.4.0" />
</engines>
<js-module src="dist/js/sentry-cordova.bundle.js" name="Sentry">
<clobbers target="Sentry" />
</js-module>
<asset src="dist/js/sentry-cordova.bundle.js.map" target="plugins/sentry-cordova/dist/js/sentry-cordova.bundle.js.map" />
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Sentry">
<param name="android-package" value="io.sentry.SentryCordova" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="io.sentry.auto-init" android:value="false" />
</config-file>
<source-file src="src/android/io/sentry/SentryCordova.java" target-dir="src/io/sentry/" />
<framework src="io.sentry:sentry-android:$SENTRY_ANDROID_SDK_VERSION" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Sentry">
<param name="ios-package" value="SentryCordova" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/SentryCordova.h" />
<source-file src="src/ios/SentryCordova.m" />
<!-- We don't have a resource-file here since this adds it to Xcode project -->
<framework src="src/ios/Carthage/Build/Sentry.xcframework" custom="true" embed="true" />
</platform>
<!-- browser -->
<!-- <platform name="browser">
<js-module src="dist/js/sentry-cordova.bundle.js" name="Sentry">
<clobbers target="Sentry" />
</js-module>
</platform> -->
<hook type="after_plugin_add" src="scripts/plugin_add_rm.js" />
<hook type="after_platform_add" src="scripts/plugin_add_rm.js" />
<hook type="before_plugin_rm" src="scripts/plugin_add_rm.js" />
<hook type="before_compile" src="scripts/before_compile.js" />
</plugin>