@dynatrace/cordova-plugin 1.261.3 → 1.265.1

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.
Files changed (52) hide show
  1. package/README.md +9 -2
  2. package/files/iOS/Dynatrace.xcframework/Info.plist +9 -9
  3. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
  4. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +25 -2
  5. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/DynatraceSwiftUI.h +31 -0
  6. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Framework.h +2 -1
  7. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
  8. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  9. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.abi.json +248 -4
  10. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -1
  11. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +14 -1
  12. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  13. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +25 -2
  14. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/DynatraceSwiftUI.h +31 -0
  15. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Framework.h +2 -1
  16. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  17. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  18. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  19. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json +248 -4
  20. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -1
  21. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -1
  22. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json +248 -4
  23. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -1
  24. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -1
  25. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +36 -25
  26. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
  27. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +25 -2
  28. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/DynatraceSwiftUI.h +31 -0
  29. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Framework.h +2 -1
  30. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
  31. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
  32. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.abi.json +0 -12
  33. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.private.swiftinterface +0 -1
  34. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftinterface +0 -1
  35. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  36. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +25 -2
  37. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/DynatraceSwiftUI.h +31 -0
  38. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Framework.h +2 -1
  39. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  40. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
  41. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
  42. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json +0 -12
  43. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface +0 -1
  44. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface +0 -1
  45. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json +0 -12
  46. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface +0 -1
  47. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface +0 -1
  48. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +36 -25
  49. package/files/plugin.gradle +1 -1
  50. package/package.json +2 -2
  51. package/plugin.xml +3 -3
  52. package/scripts/helpers/InstallHelper.js +1 -1
package/README.md CHANGED
@@ -24,8 +24,8 @@ The `dynatrace-cordova-plugin` is the old version of this plugin. Consider it de
24
24
 
25
25
  This agent versions are configured in this plugin:
26
26
 
27
- * iOS Agent: 8.261.1.1006
28
- * Android Agent: 8.261.2.1013
27
+ * iOS Agent: 8.265.1.1003
28
+ * Android Agent: 8.265.1.1002
29
29
  ## Quick Setup
30
30
 
31
31
  1. [Installation of the plugin](#1-installation-of-the-plugin)
@@ -802,6 +802,13 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
802
802
 
803
803
  ## Changelog
804
804
 
805
+ 1.265.1
806
+ * Updated Android (8.265.1.1002) & iOS Agent (8.265.1.1003)
807
+ * Fixed installation issue with old plugin
808
+
809
+ 1.263.1
810
+ * Updated Android (8.263.1.1002) & iOS Agent (8.263.2.1005)
811
+
805
812
  1.261.3
806
813
  * Updated Android (8.261.2.1013) & iOS Agent (8.261.1.1006)
807
814
  * Fixed file not found during doctor command
@@ -6,7 +6,7 @@
6
6
  <array>
7
7
  <dict>
8
8
  <key>LibraryIdentifier</key>
9
- <string>ios-arm64</string>
9
+ <string>tvos-arm64</string>
10
10
  <key>LibraryPath</key>
11
11
  <string>Dynatrace.framework</string>
12
12
  <key>SupportedArchitectures</key>
@@ -14,11 +14,11 @@
14
14
  <string>arm64</string>
15
15
  </array>
16
16
  <key>SupportedPlatform</key>
17
- <string>ios</string>
17
+ <string>tvos</string>
18
18
  </dict>
19
19
  <dict>
20
20
  <key>LibraryIdentifier</key>
21
- <string>tvos-arm64_x86_64-simulator</string>
21
+ <string>ios-arm64_x86_64-simulator</string>
22
22
  <key>LibraryPath</key>
23
23
  <string>Dynatrace.framework</string>
24
24
  <key>SupportedArchitectures</key>
@@ -27,36 +27,36 @@
27
27
  <string>x86_64</string>
28
28
  </array>
29
29
  <key>SupportedPlatform</key>
30
- <string>tvos</string>
30
+ <string>ios</string>
31
31
  <key>SupportedPlatformVariant</key>
32
32
  <string>simulator</string>
33
33
  </dict>
34
34
  <dict>
35
35
  <key>LibraryIdentifier</key>
36
- <string>tvos-arm64</string>
36
+ <string>tvos-arm64_x86_64-simulator</string>
37
37
  <key>LibraryPath</key>
38
38
  <string>Dynatrace.framework</string>
39
39
  <key>SupportedArchitectures</key>
40
40
  <array>
41
41
  <string>arm64</string>
42
+ <string>x86_64</string>
42
43
  </array>
43
44
  <key>SupportedPlatform</key>
44
45
  <string>tvos</string>
46
+ <key>SupportedPlatformVariant</key>
47
+ <string>simulator</string>
45
48
  </dict>
46
49
  <dict>
47
50
  <key>LibraryIdentifier</key>
48
- <string>ios-arm64_x86_64-simulator</string>
51
+ <string>ios-arm64</string>
49
52
  <key>LibraryPath</key>
50
53
  <string>Dynatrace.framework</string>
51
54
  <key>SupportedArchitectures</key>
52
55
  <array>
53
56
  <string>arm64</string>
54
- <string>x86_64</string>
55
57
  </array>
56
58
  <key>SupportedPlatform</key>
57
59
  <string>ios</string>
58
- <key>SupportedPlatformVariant</key>
59
- <string>simulator</string>
60
60
  </dict>
61
61
  </array>
62
62
  <key>CFBundlePackageType</key>
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.261.1.1006
2
+ // Version: 8.265.1.1003
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -752,7 +752,14 @@ When the user optin feature is not used:
752
752
 
753
753
  @param mappingJson generated and passed automatically by the Dynatrace SwiftUI intrumentor.
754
754
  */
755
- + (void)setLineNumberMapping:(NSString* _Nonnull)mappingJson;
755
+ + (void)setLineNumberMapping:(NSString* _Nonnull)mappingJson __deprecated;
756
+
757
+ /*!
758
+ @brief Set SwiftUI instrumentor config data. This method is called automatically by the SwiftUI instrumentor.
759
+
760
+ @param dict generated and passed automatically by the Dynatrace SwiftUI intrumentor.
761
+ */
762
+ + (void)handoverInstrumentorConfig:(NSDictionary* _Nonnull)dict;
756
763
 
757
764
  /*!
758
765
  @brief Send a business event.
@@ -1001,3 +1008,19 @@ extern NSString *_Nonnull const kDTXInstrumentFrameworks;
1001
1008
  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.
1002
1009
  */
1003
1010
  extern NSString *_Nonnull const kDTXUIActionNamePrivacy;
1011
+ /*!
1012
+ @const kDTXFilterSwiftUIActionDuplicates
1013
+ If set to true, actions generated for SwiftUI components will be ignored in favor of generated SwiftUI actions.
1014
+ The default is true for SwiftUI lifecycle apps and false for UIKit/Storyboard lifecycle apps.
1015
+ */
1016
+ extern NSString *_Nonnull const kDTXFilterSwiftUIActionDuplicates;
1017
+ /*!
1018
+ @const kDTXSwiftMappingJson
1019
+ Generated and passed automatically by the Dynatrace SwiftUI intrumentor.
1020
+ */
1021
+ extern NSString *_Nonnull const kDTXSwiftMappingJson;
1022
+ /*!
1023
+ @const kDTXSwiftIsSwiftUIApp
1024
+ Generated and passed automatically by the Dynatrace SwiftUI intrumentor.
1025
+ */
1026
+ extern NSString *_Nonnull const kDTXSwiftIsSwiftUIApp;
@@ -0,0 +1,31 @@
1
+ // DynatraceSwiftUI.h
2
+ // Version: ${version}
3
+ //
4
+ // These materials contain confidential information and
5
+ // trade secrets of Dynatrace Corporation. You shall
6
+ // maintain the materials as confidential and shall not
7
+ // disclose its contents to any third party except as may
8
+ // be required by law or regulation. Use, disclosure,
9
+ // or reproduction is prohibited without the prior express
10
+ // written permission of Dynatrace LLC.
11
+ //
12
+ // All Dynatrace products listed within the materials are
13
+ // trademarks of Dynatrace Corporation. All other company
14
+ // or product names are trademarks of their respective owners.
15
+ //
16
+ // Copyright 2011-2023 Dynatrace LLC
17
+
18
+ #import <Foundation/Foundation.h>
19
+
20
+ @interface DynatraceSwiftUI: NSObject
21
+ /*!
22
+ @brief Gets invoked automatically by the SwiftUI instrumentor before a SwiftUI view has appeared.
23
+ */
24
+ + (void)swiftUIViewWillAppear:(NSDictionary* _Nonnull)reportValues viewName:(NSString* _Nonnull)viewName view:(id _Nonnull)view with:(id _Nonnull)lifecycleHolder createAction:(BOOL)createAction;
25
+
26
+ /*!
27
+ @brief Gets invoked automatically by the SwiftUI instrumentor when a SwiftUI view has disappeared.
28
+ */
29
+ + (void)swiftUIViewDidDisappear:(id _Nonnull)view with:(id _Nonnull)lifecycleHolder;
30
+
31
+ @end
@@ -15,4 +15,5 @@ FOUNDATION_EXPORT double Dynatrace_FrameworkVersionNumber;
15
15
  FOUNDATION_EXPORT const unsigned char Dynatrace_FrameworkVersionString[];
16
16
 
17
17
  // In this header, you should import all the public headers of your framework
18
- #import <Dynatrace/Dynatrace.h>
18
+ #import "Dynatrace.h"
19
+ #import "DynatraceSwiftUI.h"
@@ -6,16 +6,260 @@
6
6
  "children": [
7
7
  {
8
8
  "kind": "Import",
9
- "name": "Foundation",
10
- "printedName": "Foundation",
9
+ "name": "SwiftUI",
10
+ "printedName": "SwiftUI",
11
11
  "declKind": "Import",
12
+ "moduleName": "Dynatrace"
13
+ },
14
+ {
15
+ "kind": "TypeDecl",
16
+ "name": "instrument",
17
+ "printedName": "instrument",
18
+ "children": [
19
+ {
20
+ "kind": "Constructor",
21
+ "name": "init",
22
+ "printedName": "init(with:viewName:createAction:_:)",
23
+ "children": [
24
+ {
25
+ "kind": "TypeNominal",
26
+ "name": "instrument",
27
+ "printedName": "Dynatrace.instrument<τ_0_0>",
28
+ "children": [
29
+ {
30
+ "kind": "TypeNominal",
31
+ "name": "GenericTypeParam",
32
+ "printedName": "τ_0_0"
33
+ }
34
+ ],
35
+ "usr": "s:9Dynatrace10instrumentV"
36
+ },
37
+ {
38
+ "kind": "TypeNominal",
39
+ "name": "Dictionary",
40
+ "printedName": "[Swift.String : Swift.String]",
41
+ "children": [
42
+ {
43
+ "kind": "TypeNominal",
44
+ "name": "String",
45
+ "printedName": "Swift.String",
46
+ "usr": "s:SS"
47
+ },
48
+ {
49
+ "kind": "TypeNominal",
50
+ "name": "String",
51
+ "printedName": "Swift.String",
52
+ "usr": "s:SS"
53
+ }
54
+ ],
55
+ "usr": "s:SD"
56
+ },
57
+ {
58
+ "kind": "TypeNominal",
59
+ "name": "String",
60
+ "printedName": "Swift.String",
61
+ "usr": "s:SS"
62
+ },
63
+ {
64
+ "kind": "TypeNominal",
65
+ "name": "Bool",
66
+ "printedName": "Swift.Bool",
67
+ "hasDefaultArg": true,
68
+ "usr": "s:Sb"
69
+ },
70
+ {
71
+ "kind": "TypeFunc",
72
+ "name": "Function",
73
+ "printedName": "() -> τ_0_0",
74
+ "children": [
75
+ {
76
+ "kind": "TypeNominal",
77
+ "name": "GenericTypeParam",
78
+ "printedName": "τ_0_0"
79
+ },
80
+ {
81
+ "kind": "TypeNominal",
82
+ "name": "Void",
83
+ "printedName": "()"
84
+ }
85
+ ]
86
+ }
87
+ ],
88
+ "declKind": "Constructor",
89
+ "usr": "s:9Dynatrace10instrumentV4with8viewName12createAction_ACyxGSDyS2SG_SSSbxyctcfc",
90
+ "mangledName": "$s9Dynatrace10instrumentV4with8viewName12createAction_ACyxGSDyS2SG_SSSbxyctcfc",
91
+ "moduleName": "Dynatrace",
92
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
93
+ "sugared_genericSig": "<Content where Content : SwiftUI.View>",
94
+ "declAttributes": [
95
+ "AccessControl"
96
+ ],
97
+ "init_kind": "Designated"
98
+ },
99
+ {
100
+ "kind": "Var",
101
+ "name": "body",
102
+ "printedName": "body",
103
+ "children": [
104
+ {
105
+ "kind": "TypeNominal",
106
+ "name": "OpaqueTypeArchetype",
107
+ "printedName": "some SwiftUI.View",
108
+ "children": [
109
+ {
110
+ "kind": "TypeNominal",
111
+ "name": "View",
112
+ "printedName": "SwiftUI.View",
113
+ "usr": "s:7SwiftUI4ViewP"
114
+ }
115
+ ]
116
+ }
117
+ ],
118
+ "declKind": "Var",
119
+ "usr": "s:9Dynatrace10instrumentV4bodyQrvp",
120
+ "mangledName": "$s9Dynatrace10instrumentV4bodyQrvp",
121
+ "moduleName": "Dynatrace",
122
+ "declAttributes": [
123
+ "Custom",
124
+ "AccessControl"
125
+ ],
126
+ "accessors": [
127
+ {
128
+ "kind": "Accessor",
129
+ "name": "Get",
130
+ "printedName": "Get()",
131
+ "children": [
132
+ {
133
+ "kind": "TypeNominal",
134
+ "name": "OpaqueTypeArchetype",
135
+ "printedName": "some SwiftUI.View",
136
+ "children": [
137
+ {
138
+ "kind": "TypeNominal",
139
+ "name": "View",
140
+ "printedName": "SwiftUI.View",
141
+ "usr": "s:7SwiftUI4ViewP"
142
+ }
143
+ ]
144
+ }
145
+ ],
146
+ "declKind": "Accessor",
147
+ "usr": "s:9Dynatrace10instrumentV4bodyQrvg",
148
+ "mangledName": "$s9Dynatrace10instrumentV4bodyQrvg",
149
+ "moduleName": "Dynatrace",
150
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
151
+ "sugared_genericSig": "<Content where Content : SwiftUI.View>",
152
+ "accessorKind": "get"
153
+ }
154
+ ]
155
+ }
156
+ ],
157
+ "declKind": "Struct",
158
+ "usr": "s:9Dynatrace10instrumentV",
159
+ "mangledName": "$s9Dynatrace10instrumentV",
12
160
  "moduleName": "Dynatrace",
161
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
162
+ "sugared_genericSig": "<Content where Content : SwiftUI.View>",
163
+ "intro_iOS": "13.0",
13
164
  "declAttributes": [
14
- "RawDocComment"
165
+ "AccessControl",
166
+ "Available"
167
+ ],
168
+ "conformances": [
169
+ {
170
+ "kind": "Conformance",
171
+ "name": "View",
172
+ "printedName": "View",
173
+ "children": [
174
+ {
175
+ "kind": "TypeWitness",
176
+ "name": "Body",
177
+ "printedName": "Body",
178
+ "children": [
179
+ {
180
+ "kind": "TypeNominal",
181
+ "name": "OpaqueTypeArchetype",
182
+ "printedName": "some SwiftUI.View",
183
+ "children": [
184
+ {
185
+ "kind": "TypeNominal",
186
+ "name": "View",
187
+ "printedName": "SwiftUI.View",
188
+ "usr": "s:7SwiftUI4ViewP"
189
+ }
190
+ ]
191
+ }
192
+ ]
193
+ }
194
+ ],
195
+ "usr": "s:7SwiftUI4ViewP",
196
+ "mangledName": "$s7SwiftUI4ViewP"
197
+ }
15
198
  ]
199
+ },
200
+ {
201
+ "kind": "TypeDecl",
202
+ "name": "View",
203
+ "printedName": "View",
204
+ "children": [
205
+ {
206
+ "kind": "Function",
207
+ "name": "skippingInstrumentation",
208
+ "printedName": "skippingInstrumentation()",
209
+ "children": [
210
+ {
211
+ "kind": "TypeNominal",
212
+ "name": "OpaqueTypeArchetype",
213
+ "printedName": "some SwiftUI.View",
214
+ "children": [
215
+ {
216
+ "kind": "TypeNominal",
217
+ "name": "View",
218
+ "printedName": "SwiftUI.View",
219
+ "usr": "s:7SwiftUI4ViewP"
220
+ }
221
+ ]
222
+ }
223
+ ],
224
+ "declKind": "Func",
225
+ "usr": "s:7SwiftUI4ViewP9DynatraceE23skippingInstrumentationQryF",
226
+ "mangledName": "$s7SwiftUI4ViewP9DynatraceE23skippingInstrumentationQryF",
227
+ "moduleName": "Dynatrace",
228
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
229
+ "sugared_genericSig": "<Self where Self : SwiftUI.View>",
230
+ "isFromExtension": true,
231
+ "funcSelfKind": "NonMutating"
232
+ }
233
+ ],
234
+ "declKind": "Protocol",
235
+ "usr": "s:7SwiftUI4ViewP",
236
+ "mangledName": "$s7SwiftUI4ViewP",
237
+ "moduleName": "SwiftUI",
238
+ "genericSig": "<τ_0_0.Body : SwiftUI.View>",
239
+ "sugared_genericSig": "<Self.Body : SwiftUI.View>",
240
+ "intro_Macosx": "10.15",
241
+ "intro_iOS": "13.0",
242
+ "intro_tvOS": "13.0",
243
+ "intro_watchOS": "6.0",
244
+ "declAttributes": [
245
+ "TypeEraser",
246
+ "Available",
247
+ "Available",
248
+ "Available",
249
+ "Available"
250
+ ],
251
+ "isExternal": true
16
252
  }
17
253
  ],
18
254
  "json_format_version": 8
19
255
  },
20
- "ConstValues": []
256
+ "ConstValues": [
257
+ {
258
+ "filePath": "\/opt\/jenkins\/workspace\/eagent_ios-agent_release_8.265.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
259
+ "kind": "BooleanLiteral",
260
+ "offset": 683,
261
+ "length": 4,
262
+ "value": "true"
263
+ }
264
+ ]
21
265
  }
@@ -3,7 +3,20 @@
3
3
  // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Dynatrace
4
4
  // swift-module-flags-ignorable: -enable-bare-slash-regex
5
5
  @_exported import Dynatrace
6
- import Foundation
7
6
  import Swift
7
+ import SwiftUI
8
8
  import _Concurrency
9
9
  import _StringProcessing
10
+ @available(iOS 13.0, *)
11
+ extension SwiftUI.View {
12
+ public func skippingInstrumentation() -> some SwiftUI.View
13
+
14
+ }
15
+ @available(iOS 13.0, *)
16
+ public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
17
+ public init(with values: [Swift.String : Swift.String], viewName: Swift.String, createAction: Swift.Bool = true, @SwiftUI.ViewBuilder _ content: @escaping () -> Content)
18
+ @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
19
+ get
20
+ }
21
+ public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
22
+ }
@@ -3,7 +3,20 @@
3
3
  // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Dynatrace
4
4
  // swift-module-flags-ignorable: -enable-bare-slash-regex
5
5
  @_exported import Dynatrace
6
- import Foundation
7
6
  import Swift
7
+ import SwiftUI
8
8
  import _Concurrency
9
9
  import _StringProcessing
10
+ @available(iOS 13.0, *)
11
+ extension SwiftUI.View {
12
+ public func skippingInstrumentation() -> some SwiftUI.View
13
+
14
+ }
15
+ @available(iOS 13.0, *)
16
+ public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
17
+ public init(with values: [Swift.String : Swift.String], viewName: Swift.String, createAction: Swift.Bool = true, @SwiftUI.ViewBuilder _ content: @escaping () -> Content)
18
+ @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
19
+ get
20
+ }
21
+ public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
22
+ }
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.261.1.1006
2
+ // Version: 8.265.1.1003
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -752,7 +752,14 @@ When the user optin feature is not used:
752
752
 
753
753
  @param mappingJson generated and passed automatically by the Dynatrace SwiftUI intrumentor.
754
754
  */
755
- + (void)setLineNumberMapping:(NSString* _Nonnull)mappingJson;
755
+ + (void)setLineNumberMapping:(NSString* _Nonnull)mappingJson __deprecated;
756
+
757
+ /*!
758
+ @brief Set SwiftUI instrumentor config data. This method is called automatically by the SwiftUI instrumentor.
759
+
760
+ @param dict generated and passed automatically by the Dynatrace SwiftUI intrumentor.
761
+ */
762
+ + (void)handoverInstrumentorConfig:(NSDictionary* _Nonnull)dict;
756
763
 
757
764
  /*!
758
765
  @brief Send a business event.
@@ -1001,3 +1008,19 @@ extern NSString *_Nonnull const kDTXInstrumentFrameworks;
1001
1008
  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.
1002
1009
  */
1003
1010
  extern NSString *_Nonnull const kDTXUIActionNamePrivacy;
1011
+ /*!
1012
+ @const kDTXFilterSwiftUIActionDuplicates
1013
+ If set to true, actions generated for SwiftUI components will be ignored in favor of generated SwiftUI actions.
1014
+ The default is true for SwiftUI lifecycle apps and false for UIKit/Storyboard lifecycle apps.
1015
+ */
1016
+ extern NSString *_Nonnull const kDTXFilterSwiftUIActionDuplicates;
1017
+ /*!
1018
+ @const kDTXSwiftMappingJson
1019
+ Generated and passed automatically by the Dynatrace SwiftUI intrumentor.
1020
+ */
1021
+ extern NSString *_Nonnull const kDTXSwiftMappingJson;
1022
+ /*!
1023
+ @const kDTXSwiftIsSwiftUIApp
1024
+ Generated and passed automatically by the Dynatrace SwiftUI intrumentor.
1025
+ */
1026
+ extern NSString *_Nonnull const kDTXSwiftIsSwiftUIApp;
@@ -0,0 +1,31 @@
1
+ // DynatraceSwiftUI.h
2
+ // Version: ${version}
3
+ //
4
+ // These materials contain confidential information and
5
+ // trade secrets of Dynatrace Corporation. You shall
6
+ // maintain the materials as confidential and shall not
7
+ // disclose its contents to any third party except as may
8
+ // be required by law or regulation. Use, disclosure,
9
+ // or reproduction is prohibited without the prior express
10
+ // written permission of Dynatrace LLC.
11
+ //
12
+ // All Dynatrace products listed within the materials are
13
+ // trademarks of Dynatrace Corporation. All other company
14
+ // or product names are trademarks of their respective owners.
15
+ //
16
+ // Copyright 2011-2023 Dynatrace LLC
17
+
18
+ #import <Foundation/Foundation.h>
19
+
20
+ @interface DynatraceSwiftUI: NSObject
21
+ /*!
22
+ @brief Gets invoked automatically by the SwiftUI instrumentor before a SwiftUI view has appeared.
23
+ */
24
+ + (void)swiftUIViewWillAppear:(NSDictionary* _Nonnull)reportValues viewName:(NSString* _Nonnull)viewName view:(id _Nonnull)view with:(id _Nonnull)lifecycleHolder createAction:(BOOL)createAction;
25
+
26
+ /*!
27
+ @brief Gets invoked automatically by the SwiftUI instrumentor when a SwiftUI view has disappeared.
28
+ */
29
+ + (void)swiftUIViewDidDisappear:(id _Nonnull)view with:(id _Nonnull)lifecycleHolder;
30
+
31
+ @end
@@ -15,4 +15,5 @@ FOUNDATION_EXPORT double Dynatrace_FrameworkVersionNumber;
15
15
  FOUNDATION_EXPORT const unsigned char Dynatrace_FrameworkVersionString[];
16
16
 
17
17
  // In this header, you should import all the public headers of your framework
18
- #import <Dynatrace/Dynatrace.h>
18
+ #import "Dynatrace.h"
19
+ #import "DynatraceSwiftUI.h"