@dynatrace/cordova-plugin 1.247.0 → 1.253.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -5
- package/files/iOS/Dynatrace.xcframework/Info.plist +9 -11
- package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +219 -0
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64}/Dynatrace.framework/Headers/Dynatrace.h +18 -2
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_armv7 → ios-arm64}/Dynatrace.framework/Headers/Framework.h +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +7 -0
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_armv7 → ios-arm64}/Dynatrace.framework/Modules/module.modulemap +5 -1
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/Dynatrace.framework/Dynatrace +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +444 -0
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_armv7 → ios-arm64_x86_64-simulator}/Dynatrace.framework/Headers/Dynatrace.h +18 -2
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/Dynatrace.framework/Headers/Framework.h +0 -0
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/Dynatrace.framework/Info.plist +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +7 -0
- package/files/iOS/Dynatrace.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/Dynatrace.framework/Modules/module.modulemap +5 -1
- package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +282 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +219 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +18 -2
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftdoc +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftinterface +7 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/module.modulemap +5 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +444 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +18 -2
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftdoc +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface +7 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc +0 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface +7 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/module.modulemap +5 -0
- package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +104 -5
- package/files/plugin.gradle +1 -1
- package/networking/MobileFirstNetworkInterceptor.js +9 -10
- package/networking/NativeNetworkInterceptorUtils.js +2 -3
- package/package.json +8 -8
- package/plugin.xml +2 -2
- package/scripts/Android.js +16 -12
- package/scripts/Doctor.js +1 -1
- package/scripts/DownloadAgent.js +12 -7
- package/scripts/Install.js +3 -3
- package/scripts/InstallCap.js +3 -3
- package/scripts/Instrument.js +1 -1
- package/scripts/InstrumentCap.js +1 -1
- package/scripts/Ios.js +18 -16
- package/scripts/Uninstall.js +2 -2
- package/scripts/UninstallCap.js +2 -2
- package/scripts/UpdateSecurity.js +9 -7
- package/scripts/config/ConfigurationUtil.js +6 -5
- package/scripts/config/javascript/JavaScriptAgentConfigurationBuilder.js +1 -1
- package/scripts/config/javascript/JavaScriptAgentMode.js +2 -1
- package/scripts/doctor/Doctor.js +4 -4
- package/scripts/doctor/DoctorAnalyzer.js +16 -16
- package/scripts/doctor/DoctorCommand.js +8 -7
- package/scripts/doctor/DoctorConstants.js +34 -33
- package/scripts/doctor/DoctorHelper.js +6 -4
- package/scripts/helpers/FileHelper.js +97 -73
- package/scripts/helpers/InstallHelper.js +56 -44
- package/scripts/helpers/InstrumentHelper.js +20 -18
- package/scripts/helpers/PathHelper.js +41 -41
- package/scripts/html/HtmlFile.js +1 -1
- package/scripts/html/HtmlInstrumentation.js +1 -1
- package/scripts/html/HtmlModifier.js +2 -2
- package/scripts/html/HtmlReader.js +2 -2
- package/scripts/html/HtmlUtil.js +17 -13
- package/scripts/html/HtmlVerifier.js +1 -1
- package/scripts/http/HttpCommunication.js +5 -3
- package/scripts/logger/FileLogger.js +12 -10
- package/scripts/logger/LogMessageBuilder.js +3 -3
- package/scripts/logger/LogUtil.js +5 -3
- package/scripts/package/PackageJsonReader.js +2 -2
- package/scripts/snippets/dt-cookie-proxy.js +2 -2
- package/scripts/utils/InstrumentUtil.js +23 -21
- package/scripts/utils/PluginUtil.js +2 -1
- package/files/iOS/Dynatrace.xcframework/ios-arm64_armv7/Dynatrace.framework/Dynatrace +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_armv7/Dynatrace.framework/Info.plist +0 -0
- package/files/iOS/Dynatrace.xcframework/ios-arm64_i386_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +0 -147
package/README.md
CHANGED
|
@@ -23,8 +23,8 @@ The `dynatrace-cordova-plugin` is the old version of this plugin. Consider it de
|
|
|
23
23
|
|
|
24
24
|
This agent versions are configured in this plugin:
|
|
25
25
|
|
|
26
|
-
* iOS Agent: 8.
|
|
27
|
-
* Android Agent: 8.
|
|
26
|
+
* iOS Agent: 8.253.1.1006
|
|
27
|
+
* Android Agent: 8.253.1.1003
|
|
28
28
|
## Quick Setup
|
|
29
29
|
|
|
30
30
|
1. [Installation of the plugin](#1-installation-of-the-plugin)
|
|
@@ -48,7 +48,7 @@ This agent versions are configured in this plugin:
|
|
|
48
48
|
* [JavaScript Agent Snippet Mode](#javascript-agent-snippet-mode)
|
|
49
49
|
* [Allow any certificate](#allow-any-certificate)
|
|
50
50
|
* [Manual instrumentation](#manual-instrumentation)
|
|
51
|
-
* [Create
|
|
51
|
+
* [Create custom action](#create-custom-action)
|
|
52
52
|
* [Report error](#report-error)
|
|
53
53
|
* [Identify user](#identify-user)
|
|
54
54
|
* [More examples](#more-examples)
|
|
@@ -316,9 +316,9 @@ The JavaScript Agent interface will be provided by the JavaScript Agent, it can
|
|
|
316
316
|
|
|
317
317
|
This gives you the possibility to instrument your code even further by adding manual instrumentation. If you like to know more about the manual instrumentation, have a look into the Dynatrace [documentation](#official-documentation).
|
|
318
318
|
|
|
319
|
-
### Create
|
|
319
|
+
### Create custom action
|
|
320
320
|
|
|
321
|
-
To create a
|
|
321
|
+
To create a custom action that is called `"MyButton tapped"` you just need to use the following code below. The *leaveAction* will close the action again. It is possible to report errors for this action before closing, see next section [Report Error](#report-error).
|
|
322
322
|
|
|
323
323
|
```ts
|
|
324
324
|
"enterAction"(actionName: string, actionType: string, startTime?: number, sourceUrl?: string, sourceTitle?: string): number;
|
|
@@ -781,6 +781,10 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
|
|
|
781
781
|
|
|
782
782
|
## Changelog
|
|
783
783
|
|
|
784
|
+
1.253.2
|
|
785
|
+
* Updated Android (8.253.1.1003) & iOS Agent (8.253.1.1006)
|
|
786
|
+
* Fixed wrong declaration for dtrum & MFP API
|
|
787
|
+
|
|
784
788
|
1.247.0
|
|
785
789
|
* Added support for [Capacitor run command](#capacitor-instrumentation) for Capacitor versions 3.1+
|
|
786
790
|
* Added option to specify paths for [jsAgent](#js-agent-path), [gradlePath](#gradle-path) and [plistPath](#plist-path) in `dynatrace.config.js` file
|
|
@@ -6,48 +6,46 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>LibraryIdentifier</key>
|
|
9
|
-
<string>ios-
|
|
9
|
+
<string>ios-arm64</string>
|
|
10
10
|
<key>LibraryPath</key>
|
|
11
11
|
<string>Dynatrace.framework</string>
|
|
12
12
|
<key>SupportedArchitectures</key>
|
|
13
13
|
<array>
|
|
14
14
|
<string>arm64</string>
|
|
15
|
-
<string>i386</string>
|
|
16
|
-
<string>x86_64</string>
|
|
17
15
|
</array>
|
|
18
16
|
<key>SupportedPlatform</key>
|
|
19
17
|
<string>ios</string>
|
|
20
|
-
<key>SupportedPlatformVariant</key>
|
|
21
|
-
<string>simulator</string>
|
|
22
18
|
</dict>
|
|
23
19
|
<dict>
|
|
24
20
|
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>
|
|
21
|
+
<string>tvos-arm64</string>
|
|
26
22
|
<key>LibraryPath</key>
|
|
27
23
|
<string>Dynatrace.framework</string>
|
|
28
24
|
<key>SupportedArchitectures</key>
|
|
29
25
|
<array>
|
|
30
26
|
<string>arm64</string>
|
|
31
|
-
<string>armv7</string>
|
|
32
27
|
</array>
|
|
33
28
|
<key>SupportedPlatform</key>
|
|
34
|
-
<string>
|
|
29
|
+
<string>tvos</string>
|
|
35
30
|
</dict>
|
|
36
31
|
<dict>
|
|
37
32
|
<key>LibraryIdentifier</key>
|
|
38
|
-
<string>tvos-
|
|
33
|
+
<string>tvos-arm64_x86_64-simulator</string>
|
|
39
34
|
<key>LibraryPath</key>
|
|
40
35
|
<string>Dynatrace.framework</string>
|
|
41
36
|
<key>SupportedArchitectures</key>
|
|
42
37
|
<array>
|
|
43
38
|
<string>arm64</string>
|
|
39
|
+
<string>x86_64</string>
|
|
44
40
|
</array>
|
|
45
41
|
<key>SupportedPlatform</key>
|
|
46
42
|
<string>tvos</string>
|
|
43
|
+
<key>SupportedPlatformVariant</key>
|
|
44
|
+
<string>simulator</string>
|
|
47
45
|
</dict>
|
|
48
46
|
<dict>
|
|
49
47
|
<key>LibraryIdentifier</key>
|
|
50
|
-
<string>
|
|
48
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
51
49
|
<key>LibraryPath</key>
|
|
52
50
|
<string>Dynatrace.framework</string>
|
|
53
51
|
<key>SupportedArchitectures</key>
|
|
@@ -56,7 +54,7 @@
|
|
|
56
54
|
<string>x86_64</string>
|
|
57
55
|
</array>
|
|
58
56
|
<key>SupportedPlatform</key>
|
|
59
|
-
<string>
|
|
57
|
+
<string>ios</string>
|
|
60
58
|
<key>SupportedPlatformVariant</key>
|
|
61
59
|
<string>simulator</string>
|
|
62
60
|
</dict>
|
package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
|
|
2
|
+
#ifndef DYNATRACE_SWIFT_H
|
|
3
|
+
#define DYNATRACE_SWIFT_H
|
|
4
|
+
#pragma clang diagnostic push
|
|
5
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
6
|
+
|
|
7
|
+
#if !defined(__has_include)
|
|
8
|
+
# define __has_include(x) 0
|
|
9
|
+
#endif
|
|
10
|
+
#if !defined(__has_attribute)
|
|
11
|
+
# define __has_attribute(x) 0
|
|
12
|
+
#endif
|
|
13
|
+
#if !defined(__has_feature)
|
|
14
|
+
# define __has_feature(x) 0
|
|
15
|
+
#endif
|
|
16
|
+
#if !defined(__has_warning)
|
|
17
|
+
# define __has_warning(x) 0
|
|
18
|
+
#endif
|
|
19
|
+
|
|
20
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
21
|
+
# include <swift/objc-prologue.h>
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
25
|
+
#include <Foundation/Foundation.h>
|
|
26
|
+
#include <stdint.h>
|
|
27
|
+
#include <stddef.h>
|
|
28
|
+
#include <stdbool.h>
|
|
29
|
+
|
|
30
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
31
|
+
# define SWIFT_TYPEDEFS 1
|
|
32
|
+
# if __has_include(<uchar.h>)
|
|
33
|
+
# include <uchar.h>
|
|
34
|
+
# elif !defined(__cplusplus)
|
|
35
|
+
typedef uint_least16_t char16_t;
|
|
36
|
+
typedef uint_least32_t char32_t;
|
|
37
|
+
# endif
|
|
38
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
39
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
40
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
41
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
42
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
43
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
44
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
45
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
46
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
47
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
48
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
49
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
#if !defined(SWIFT_PASTE)
|
|
53
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
54
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
55
|
+
#endif
|
|
56
|
+
#if !defined(SWIFT_METATYPE)
|
|
57
|
+
# define SWIFT_METATYPE(X) Class
|
|
58
|
+
#endif
|
|
59
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
60
|
+
# if __has_feature(objc_class_property)
|
|
61
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
62
|
+
# else
|
|
63
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
64
|
+
# endif
|
|
65
|
+
#endif
|
|
66
|
+
|
|
67
|
+
#if __has_attribute(objc_runtime_name)
|
|
68
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
69
|
+
#else
|
|
70
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
71
|
+
#endif
|
|
72
|
+
#if __has_attribute(swift_name)
|
|
73
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
74
|
+
#else
|
|
75
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
76
|
+
#endif
|
|
77
|
+
#if __has_attribute(objc_method_family)
|
|
78
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
79
|
+
#else
|
|
80
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
81
|
+
#endif
|
|
82
|
+
#if __has_attribute(noescape)
|
|
83
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
84
|
+
#else
|
|
85
|
+
# define SWIFT_NOESCAPE
|
|
86
|
+
#endif
|
|
87
|
+
#if __has_attribute(ns_consumed)
|
|
88
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
89
|
+
#else
|
|
90
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
91
|
+
#endif
|
|
92
|
+
#if __has_attribute(warn_unused_result)
|
|
93
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
94
|
+
#else
|
|
95
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
96
|
+
#endif
|
|
97
|
+
#if __has_attribute(noreturn)
|
|
98
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
99
|
+
#else
|
|
100
|
+
# define SWIFT_NORETURN
|
|
101
|
+
#endif
|
|
102
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
103
|
+
# define SWIFT_CLASS_EXTRA
|
|
104
|
+
#endif
|
|
105
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
106
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
107
|
+
#endif
|
|
108
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
109
|
+
# define SWIFT_ENUM_EXTRA
|
|
110
|
+
#endif
|
|
111
|
+
#if !defined(SWIFT_CLASS)
|
|
112
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
113
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
114
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
115
|
+
# else
|
|
116
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
117
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
118
|
+
# endif
|
|
119
|
+
#endif
|
|
120
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
121
|
+
# if __has_attribute(objc_class_stub)
|
|
122
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
123
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
124
|
+
# else
|
|
125
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
126
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
127
|
+
# endif
|
|
128
|
+
#endif
|
|
129
|
+
|
|
130
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
131
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
132
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
133
|
+
#endif
|
|
134
|
+
|
|
135
|
+
#if !defined(SWIFT_EXTENSION)
|
|
136
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
137
|
+
#endif
|
|
138
|
+
|
|
139
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
140
|
+
# if __has_attribute(objc_designated_initializer)
|
|
141
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
142
|
+
# else
|
|
143
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
144
|
+
# endif
|
|
145
|
+
#endif
|
|
146
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
147
|
+
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
|
|
148
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
149
|
+
# else
|
|
150
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
151
|
+
# endif
|
|
152
|
+
#endif
|
|
153
|
+
#if !defined(SWIFT_ENUM)
|
|
154
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
155
|
+
# if __has_feature(generalized_swift_name)
|
|
156
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
157
|
+
# else
|
|
158
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
159
|
+
# endif
|
|
160
|
+
#endif
|
|
161
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
162
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
163
|
+
#endif
|
|
164
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
165
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
166
|
+
#endif
|
|
167
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
168
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
169
|
+
#endif
|
|
170
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
171
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
172
|
+
#endif
|
|
173
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
174
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
175
|
+
#endif
|
|
176
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
177
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
178
|
+
#endif
|
|
179
|
+
#if __has_feature(attribute_diagnose_if_objc)
|
|
180
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
181
|
+
#else
|
|
182
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
183
|
+
#endif
|
|
184
|
+
#if !defined(IBSegueAction)
|
|
185
|
+
# define IBSegueAction
|
|
186
|
+
#endif
|
|
187
|
+
#if !defined(SWIFT_EXTERN)
|
|
188
|
+
# if defined(__cplusplus)
|
|
189
|
+
# define SWIFT_EXTERN extern "C"
|
|
190
|
+
# else
|
|
191
|
+
# define SWIFT_EXTERN extern
|
|
192
|
+
# endif
|
|
193
|
+
#endif
|
|
194
|
+
#if __has_feature(modules)
|
|
195
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
196
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
197
|
+
#endif
|
|
198
|
+
#endif
|
|
199
|
+
|
|
200
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
201
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
202
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
203
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
204
|
+
#endif
|
|
205
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
206
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
207
|
+
|
|
208
|
+
#if __has_attribute(external_source_symbol)
|
|
209
|
+
# pragma push_macro("any")
|
|
210
|
+
# undef any
|
|
211
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Dynatrace",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
212
|
+
# pragma pop_macro("any")
|
|
213
|
+
#endif
|
|
214
|
+
|
|
215
|
+
#if __has_attribute(external_source_symbol)
|
|
216
|
+
# pragma clang attribute pop
|
|
217
|
+
#endif
|
|
218
|
+
#pragma clang diagnostic pop
|
|
219
|
+
#endif
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Dynatrace.h
|
|
2
|
-
// Version: 8.
|
|
2
|
+
// Version: 8.253.1.1006
|
|
3
3
|
//
|
|
4
4
|
// These materials contain confidential information and
|
|
5
5
|
// trade secrets of Dynatrace Corporation. You shall
|
|
@@ -755,7 +755,11 @@ When the user optin feature is not used:
|
|
|
755
755
|
+ (void)setLineNumberMapping:(NSString* _Nonnull)mappingJson;
|
|
756
756
|
|
|
757
757
|
/*!
|
|
758
|
-
@brief Send a
|
|
758
|
+
@brief Send a business event.
|
|
759
|
+
|
|
760
|
+
With sendBizEvent, you can report a business event. These standalone events are being sent detached from user actions or sessions.
|
|
761
|
+
Note: Business events are only supported on Dynatrace SaaS deployments currently.
|
|
762
|
+
https://www.dynatrace.com/support/help/how-to-use-dynatrace/business-analytics/ba-events-capturing#get-business-events-from-rum
|
|
759
763
|
|
|
760
764
|
@param type type of the event being sent
|
|
761
765
|
@param attributes dictionary of attributes being attached to the sent event
|
|
@@ -970,6 +974,13 @@ extern NSString *_Nonnull const kDTXWebViewStandInDelegate;
|
|
|
970
974
|
*/
|
|
971
975
|
extern NSString *_Nonnull const kDTXURLFilters;
|
|
972
976
|
|
|
977
|
+
/*!
|
|
978
|
+
@const kDTXWebViewInstrumentInitWithCoder
|
|
979
|
+
Enables auto-instrumentation for WKWebView's initWithCoding. This might interfere with custom serialized data. The default value is true.
|
|
980
|
+
@note This key is available as of OneAgent for iOS 8.249.
|
|
981
|
+
*/
|
|
982
|
+
extern NSString *_Nonnull const kDTXWebViewInstrumentInitWithCoder;
|
|
983
|
+
|
|
973
984
|
# pragma mark Instrumentation - Detect Rage Taps
|
|
974
985
|
/*!
|
|
975
986
|
@const kDTXDetectRageTaps
|
|
@@ -984,3 +995,8 @@ extern NSString *_Nonnull const kDTXDetectRageTaps;
|
|
|
984
995
|
Flag to force the agent to also look for viewControllers inside the frameworks linked with the application
|
|
985
996
|
*/
|
|
986
997
|
extern NSString *_Nonnull const kDTXInstrumentFrameworks;
|
|
998
|
+
/*!
|
|
999
|
+
@const kDTXUIActionNamePrivacy
|
|
1000
|
+
If set to true, a label or accessibility identifier of a view will be replaced by the view class name when reporting a touch event.
|
|
1001
|
+
*/
|
|
1002
|
+
extern NSString *_Nonnull const kDTXUIActionNamePrivacy;
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Dynatrace
|
|
4
|
+
@_exported import Dynatrace
|
|
5
|
+
import Foundation
|
|
6
|
+
import Swift
|
|
7
|
+
import _Concurrency
|