@dynatrace/react-native-plugin 2.267.1 → 2.269.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 (36) hide show
  1. package/README.md +6 -2
  2. package/android/build.gradle +1 -1
  3. package/files/plugin.gradle +1 -1
  4. package/ios/lib/Dynatrace.xcframework/Info.plist +8 -8
  5. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
  6. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  7. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
  8. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  9. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.abi.json +30 -2
  10. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
  11. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
  12. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  13. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  14. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  15. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  16. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  17. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json +30 -2
  18. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
  19. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
  20. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json +30 -2
  21. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
  22. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
  23. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +23 -23
  24. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
  25. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  26. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
  27. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
  28. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  29. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  30. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  31. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
  32. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
  33. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +11 -11
  34. package/package.json +2 -2
  35. package/scripts/Ios.js +21 -6
  36. package/scripts/util/PlistConstants.js +29 -0
package/README.md CHANGED
@@ -29,8 +29,8 @@ If you want to start using this plugin and are not a Dynatrace customer yet, hea
29
29
  ## Agent Versions
30
30
  This agent versions are configured in this plugin:
31
31
 
32
- * iOS Agent: 8.267.1.1005
33
- * Android Agent: 8.267.1.1006
32
+ * iOS Agent: 8.269.1.1007
33
+ * Android Agent: 8.269.1.1009
34
34
 
35
35
  ## Quick Setup
36
36
 
@@ -1169,6 +1169,10 @@ If you are struggling with a problem, submit a support ticket to Dynatrace (supp
1169
1169
  <br/><br/>
1170
1170
  ## Changelog
1171
1171
 
1172
+ 2.269.1
1173
+ * Update Android (8.269.1.1009) & iOS Agent (8.269.1.1007)
1174
+ * Updated instrumentation for iOS Picker to match Android
1175
+
1172
1176
  2.267.1
1173
1177
  * Updated Android (8.267.1.1005) & iOS Agent (8.267.1.1006)
1174
1178
  * Added support for [tvOS](#setup-for-tvos)
@@ -36,7 +36,7 @@ repositories {
36
36
  }
37
37
 
38
38
  dependencies {
39
- implementation 'com.dynatrace.agent:agent-android:8.267.1.1005'
39
+ implementation 'com.dynatrace.agent:agent-android:8.269.1.1009'
40
40
  implementation "com.facebook.react:react-native:${safeExtGet('reactNative', '+')}"
41
41
  }
42
42
 
@@ -1,3 +1,3 @@
1
1
  dependencies {
2
- classpath 'com.dynatrace.tools.android:gradle-plugin:8.267.1.1005'
2
+ classpath 'com.dynatrace.tools.android:gradle-plugin:8.269.1.1009'
3
3
  }
@@ -6,18 +6,15 @@
6
6
  <array>
7
7
  <dict>
8
8
  <key>LibraryIdentifier</key>
9
- <string>tvos-arm64_x86_64-simulator</string>
9
+ <string>tvos-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>x86_64</string>
16
15
  </array>
17
16
  <key>SupportedPlatform</key>
18
17
  <string>tvos</string>
19
- <key>SupportedPlatformVariant</key>
20
- <string>simulator</string>
21
18
  </dict>
22
19
  <dict>
23
20
  <key>LibraryIdentifier</key>
@@ -36,7 +33,7 @@
36
33
  </dict>
37
34
  <dict>
38
35
  <key>LibraryIdentifier</key>
39
- <string>tvos-arm64</string>
36
+ <string>ios-arm64</string>
40
37
  <key>LibraryPath</key>
41
38
  <string>Dynatrace.framework</string>
42
39
  <key>SupportedArchitectures</key>
@@ -44,19 +41,22 @@
44
41
  <string>arm64</string>
45
42
  </array>
46
43
  <key>SupportedPlatform</key>
47
- <string>tvos</string>
44
+ <string>ios</string>
48
45
  </dict>
49
46
  <dict>
50
47
  <key>LibraryIdentifier</key>
51
- <string>ios-arm64</string>
48
+ <string>tvos-arm64_x86_64-simulator</string>
52
49
  <key>LibraryPath</key>
53
50
  <string>Dynatrace.framework</string>
54
51
  <key>SupportedArchitectures</key>
55
52
  <array>
56
53
  <string>arm64</string>
54
+ <string>x86_64</string>
57
55
  </array>
58
56
  <key>SupportedPlatform</key>
59
- <string>ios</string>
57
+ <string>tvos</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.267.1.1006
2
+ // Version: 8.269.1.1007
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -229,6 +229,34 @@
229
229
  "sugared_genericSig": "<Self where Self : SwiftUI.View>",
230
230
  "isFromExtension": true,
231
231
  "funcSelfKind": "NonMutating"
232
+ },
233
+ {
234
+ "kind": "Function",
235
+ "name": "withDefaultControlName",
236
+ "printedName": "withDefaultControlName()",
237
+ "children": [
238
+ {
239
+ "kind": "TypeNominal",
240
+ "name": "OpaqueTypeArchetype",
241
+ "printedName": "some SwiftUI.View",
242
+ "children": [
243
+ {
244
+ "kind": "TypeNominal",
245
+ "name": "View",
246
+ "printedName": "SwiftUI.View",
247
+ "usr": "s:7SwiftUI4ViewP"
248
+ }
249
+ ]
250
+ }
251
+ ],
252
+ "declKind": "Func",
253
+ "usr": "s:7SwiftUI4ViewP9DynatraceE22withDefaultControlNameQryF",
254
+ "mangledName": "$s7SwiftUI4ViewP9DynatraceE22withDefaultControlNameQryF",
255
+ "moduleName": "Dynatrace",
256
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
257
+ "sugared_genericSig": "<Self where Self : SwiftUI.View>",
258
+ "isFromExtension": true,
259
+ "funcSelfKind": "NonMutating"
232
260
  }
233
261
  ],
234
262
  "declKind": "Protocol",
@@ -255,9 +283,9 @@
255
283
  },
256
284
  "ConstValues": [
257
285
  {
258
- "filePath": "\/opt\/jenkins\/workspace\/eagent_ios-agent_release_8.267.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
286
+ "filePath": "\/opt\/jenkins\/workspace\/eAgent_ios-agent_release_8.269.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
259
287
  "kind": "BooleanLiteral",
260
- "offset": 683,
288
+ "offset": 758,
261
289
  "length": 4,
262
290
  "value": "true"
263
291
  }
@@ -11,6 +11,8 @@ import _StringProcessing
11
11
  extension SwiftUI.View {
12
12
  public func skippingInstrumentation() -> some SwiftUI.View
13
13
 
14
+ public func withDefaultControlName() -> some SwiftUI.View
15
+
14
16
  }
15
17
  @available(iOS 13.0, *)
16
18
  public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
@@ -11,6 +11,8 @@ import _StringProcessing
11
11
  extension SwiftUI.View {
12
12
  public func skippingInstrumentation() -> some SwiftUI.View
13
13
 
14
+ public func withDefaultControlName() -> some SwiftUI.View
15
+
14
16
  }
15
17
  @available(iOS 13.0, *)
16
18
  public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.267.1.1006
2
+ // Version: 8.269.1.1007
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -229,6 +229,34 @@
229
229
  "sugared_genericSig": "<Self where Self : SwiftUI.View>",
230
230
  "isFromExtension": true,
231
231
  "funcSelfKind": "NonMutating"
232
+ },
233
+ {
234
+ "kind": "Function",
235
+ "name": "withDefaultControlName",
236
+ "printedName": "withDefaultControlName()",
237
+ "children": [
238
+ {
239
+ "kind": "TypeNominal",
240
+ "name": "OpaqueTypeArchetype",
241
+ "printedName": "some SwiftUI.View",
242
+ "children": [
243
+ {
244
+ "kind": "TypeNominal",
245
+ "name": "View",
246
+ "printedName": "SwiftUI.View",
247
+ "usr": "s:7SwiftUI4ViewP"
248
+ }
249
+ ]
250
+ }
251
+ ],
252
+ "declKind": "Func",
253
+ "usr": "s:7SwiftUI4ViewP9DynatraceE22withDefaultControlNameQryF",
254
+ "mangledName": "$s7SwiftUI4ViewP9DynatraceE22withDefaultControlNameQryF",
255
+ "moduleName": "Dynatrace",
256
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
257
+ "sugared_genericSig": "<Self where Self : SwiftUI.View>",
258
+ "isFromExtension": true,
259
+ "funcSelfKind": "NonMutating"
232
260
  }
233
261
  ],
234
262
  "declKind": "Protocol",
@@ -255,9 +283,9 @@
255
283
  },
256
284
  "ConstValues": [
257
285
  {
258
- "filePath": "\/opt\/jenkins\/workspace\/eagent_ios-agent_release_8.267.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
286
+ "filePath": "\/opt\/jenkins\/workspace\/eAgent_ios-agent_release_8.269.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
259
287
  "kind": "BooleanLiteral",
260
- "offset": 683,
288
+ "offset": 758,
261
289
  "length": 4,
262
290
  "value": "true"
263
291
  }
@@ -11,6 +11,8 @@ import _StringProcessing
11
11
  extension SwiftUI.View {
12
12
  public func skippingInstrumentation() -> some SwiftUI.View
13
13
 
14
+ public func withDefaultControlName() -> some SwiftUI.View
15
+
14
16
  }
15
17
  @available(iOS 13.0, *)
16
18
  public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
@@ -11,6 +11,8 @@ import _StringProcessing
11
11
  extension SwiftUI.View {
12
12
  public func skippingInstrumentation() -> some SwiftUI.View
13
13
 
14
+ public func withDefaultControlName() -> some SwiftUI.View
15
+
14
16
  }
15
17
  @available(iOS 13.0, *)
16
18
  public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
@@ -229,6 +229,34 @@
229
229
  "sugared_genericSig": "<Self where Self : SwiftUI.View>",
230
230
  "isFromExtension": true,
231
231
  "funcSelfKind": "NonMutating"
232
+ },
233
+ {
234
+ "kind": "Function",
235
+ "name": "withDefaultControlName",
236
+ "printedName": "withDefaultControlName()",
237
+ "children": [
238
+ {
239
+ "kind": "TypeNominal",
240
+ "name": "OpaqueTypeArchetype",
241
+ "printedName": "some SwiftUI.View",
242
+ "children": [
243
+ {
244
+ "kind": "TypeNominal",
245
+ "name": "View",
246
+ "printedName": "SwiftUI.View",
247
+ "usr": "s:7SwiftUI4ViewP"
248
+ }
249
+ ]
250
+ }
251
+ ],
252
+ "declKind": "Func",
253
+ "usr": "s:7SwiftUI4ViewP9DynatraceE22withDefaultControlNameQryF",
254
+ "mangledName": "$s7SwiftUI4ViewP9DynatraceE22withDefaultControlNameQryF",
255
+ "moduleName": "Dynatrace",
256
+ "genericSig": "<τ_0_0 where τ_0_0 : SwiftUI.View>",
257
+ "sugared_genericSig": "<Self where Self : SwiftUI.View>",
258
+ "isFromExtension": true,
259
+ "funcSelfKind": "NonMutating"
232
260
  }
233
261
  ],
234
262
  "declKind": "Protocol",
@@ -255,9 +283,9 @@
255
283
  },
256
284
  "ConstValues": [
257
285
  {
258
- "filePath": "\/opt\/jenkins\/workspace\/eagent_ios-agent_release_8.267.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
286
+ "filePath": "\/opt\/jenkins\/workspace\/eAgent_ios-agent_release_8.269.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
259
287
  "kind": "BooleanLiteral",
260
- "offset": 683,
288
+ "offset": 758,
261
289
  "length": 4,
262
290
  "value": "true"
263
291
  }
@@ -11,6 +11,8 @@ import _StringProcessing
11
11
  extension SwiftUI.View {
12
12
  public func skippingInstrumentation() -> some SwiftUI.View
13
13
 
14
+ public func withDefaultControlName() -> some SwiftUI.View
15
+
14
16
  }
15
17
  @available(iOS 13.0, *)
16
18
  public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
@@ -11,6 +11,8 @@ import _StringProcessing
11
11
  extension SwiftUI.View {
12
12
  public func skippingInstrumentation() -> some SwiftUI.View
13
13
 
14
+ public func withDefaultControlName() -> some SwiftUI.View
15
+
14
16
  }
15
17
  @available(iOS 13.0, *)
16
18
  public struct instrument<Content> : SwiftUI.View where Content : SwiftUI.View {
@@ -10,7 +10,7 @@
10
10
  </data>
11
11
  <key>Headers/Dynatrace.h</key>
12
12
  <data>
13
- 1wtJVGivYyuHIoZxQiwETMfSAW0=
13
+ SkqpkmDmUMzTKLYk7PNoaZFHGNQ=
14
14
  </data>
15
15
  <key>Headers/DynatraceSwiftUI.h</key>
16
16
  <data>
@@ -22,23 +22,23 @@
22
22
  </data>
23
23
  <key>Info.plist</key>
24
24
  <data>
25
- Qv+pJWThjSlaOgLFP1Xot67H+Jk=
25
+ B1g1vMCJ0hRm+sPnUW5PlW0Z2i4=
26
26
  </data>
27
27
  <key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
28
28
  <data>
29
- V4Zz/sturOrlcRfVBrg2W9WXDxw=
29
+ C1vq2vI7OL5d6h3bsnODAOur+yI=
30
30
  </data>
31
31
  <key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
32
32
  <data>
33
- otcoWPWCwobuMaFiWzLIcT6Anl4=
33
+ wGag4cQ8e3hY+iaN9OvUQKVoecU=
34
34
  </data>
35
35
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
36
36
  <data>
37
- tyHzBeNAluuoA0e2FKT11N/HAWI=
37
+ gsW2OpTlgV/V7I/6YqVNkxRZqCI=
38
38
  </data>
39
39
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
40
40
  <data>
41
- AYncxY73IVweMpA7ApUjA9qZIjo=
41
+ kERuMa00nqclNSoc9FuJLgCfKAY=
42
42
  </data>
43
43
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
44
44
  <data>
@@ -46,19 +46,19 @@
46
46
  </data>
47
47
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
48
48
  <data>
49
- AYncxY73IVweMpA7ApUjA9qZIjo=
49
+ kERuMa00nqclNSoc9FuJLgCfKAY=
50
50
  </data>
51
51
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
52
52
  <data>
53
- fumh6X0qkCsgAlKkP7PlpLYnkSU=
53
+ MiQDUM44dey4k5hJqaL9XWsDLUA=
54
54
  </data>
55
55
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
56
56
  <data>
57
- tyHzBeNAluuoA0e2FKT11N/HAWI=
57
+ gsW2OpTlgV/V7I/6YqVNkxRZqCI=
58
58
  </data>
59
59
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
60
60
  <data>
61
- FkMEXHq8xBqu18h5HLuWATo9XlE=
61
+ ukhL/+ZhfLrHiwBEFgWgve9x8fw=
62
62
  </data>
63
63
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
64
64
  <data>
@@ -66,11 +66,11 @@
66
66
  </data>
67
67
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
68
68
  <data>
69
- FkMEXHq8xBqu18h5HLuWATo9XlE=
69
+ ukhL/+ZhfLrHiwBEFgWgve9x8fw=
70
70
  </data>
71
71
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
72
72
  <data>
73
- 6A2dIqC8mvN+GWPf2gAiWhkUc6I=
73
+ HU1QpKa5dCGnvuQoEhZC+TxxUqE=
74
74
  </data>
75
75
  <key>Modules/module.modulemap</key>
76
76
  <data>
@@ -90,7 +90,7 @@
90
90
  <dict>
91
91
  <key>hash2</key>
92
92
  <data>
93
- HWVwMEl1OqD2CaM7wNW2qYZMjECkdZHG9PsW2m/Ouks=
93
+ 85WcogKmEOlVrug885YQGGUrWbA9emqhJh+WBhAfNqo=
94
94
  </data>
95
95
  </dict>
96
96
  <key>Headers/DynatraceSwiftUI.h</key>
@@ -111,28 +111,28 @@
111
111
  <dict>
112
112
  <key>hash2</key>
113
113
  <data>
114
- kvgVrNacbf2LETkArD5J1EZmEDXgh+QFrcD3q/QVXdc=
114
+ WD5bhdf7fL9gnbMn4VwHBRT2pRYYFmVGk7FcJ4L7KDI=
115
115
  </data>
116
116
  </dict>
117
117
  <key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
118
118
  <dict>
119
119
  <key>hash2</key>
120
120
  <data>
121
- ueltoUkIK1b5MPDThGs6jm1Gq9XIHTHXCyTpeKZ/p8M=
121
+ P7OzALPIeaYxmQuvKDLULJlszXypmfSeZlIlt1UvtaE=
122
122
  </data>
123
123
  </dict>
124
124
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
125
125
  <dict>
126
126
  <key>hash2</key>
127
127
  <data>
128
- ncO7QZeEqzwZ1nTkG80ZRWjRccrJFt3uSDYk0snUgoA=
128
+ fvZxGQLBiUkQj2bwty3DoSXjjz3tL3jWRnMV+Q7rp9g=
129
129
  </data>
130
130
  </dict>
131
131
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
132
132
  <dict>
133
133
  <key>hash2</key>
134
134
  <data>
135
- XXVywwkxVgjpok8QXAiTTQmMqH5D4UVSDd/sF+GE9ac=
135
+ hPTJVgmQDAWn81z1kNq2gGl8xGoNmE9sxPcuYsCTimk=
136
136
  </data>
137
137
  </dict>
138
138
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -146,28 +146,28 @@
146
146
  <dict>
147
147
  <key>hash2</key>
148
148
  <data>
149
- XXVywwkxVgjpok8QXAiTTQmMqH5D4UVSDd/sF+GE9ac=
149
+ hPTJVgmQDAWn81z1kNq2gGl8xGoNmE9sxPcuYsCTimk=
150
150
  </data>
151
151
  </dict>
152
152
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
153
153
  <dict>
154
154
  <key>hash2</key>
155
155
  <data>
156
- r8pFuMSB6kS3XxG2HQzEWdjRrVwSDug90Xl9UmFQ1gc=
156
+ OqowqXb/ohUKDWPC67NELyf0CFMpeYHSjlNfGuQs4AM=
157
157
  </data>
158
158
  </dict>
159
159
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
160
160
  <dict>
161
161
  <key>hash2</key>
162
162
  <data>
163
- ncO7QZeEqzwZ1nTkG80ZRWjRccrJFt3uSDYk0snUgoA=
163
+ fvZxGQLBiUkQj2bwty3DoSXjjz3tL3jWRnMV+Q7rp9g=
164
164
  </data>
165
165
  </dict>
166
166
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
167
167
  <dict>
168
168
  <key>hash2</key>
169
169
  <data>
170
- bhRLH6JSitTVO4Fs71A9BJMJrrOuo7cO62VfYbiupgg=
170
+ walsg4Epf+TkT/tD47FVt1CM5CcihgqNIw/hTwucdnw=
171
171
  </data>
172
172
  </dict>
173
173
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -181,14 +181,14 @@
181
181
  <dict>
182
182
  <key>hash2</key>
183
183
  <data>
184
- bhRLH6JSitTVO4Fs71A9BJMJrrOuo7cO62VfYbiupgg=
184
+ walsg4Epf+TkT/tD47FVt1CM5CcihgqNIw/hTwucdnw=
185
185
  </data>
186
186
  </dict>
187
187
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
188
188
  <dict>
189
189
  <key>hash2</key>
190
190
  <data>
191
- tzCrgrtguu0p/9l0F7l8cZPfeyXbRc3nKmxu5UI9low=
191
+ YQVpZUGjWEBzLbiBeVy+ClakkDO2OgcqAa3W7pxn/wA=
192
192
  </data>
193
193
  </dict>
194
194
  <key>Modules/module.modulemap</key>
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.267.1.1006
2
+ // Version: 8.269.1.1007
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.267.1.1006
2
+ // Version: 8.269.1.1007
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -10,7 +10,7 @@
10
10
  </data>
11
11
  <key>Headers/Dynatrace.h</key>
12
12
  <data>
13
- 1wtJVGivYyuHIoZxQiwETMfSAW0=
13
+ SkqpkmDmUMzTKLYk7PNoaZFHGNQ=
14
14
  </data>
15
15
  <key>Headers/DynatraceSwiftUI.h</key>
16
16
  <data>
@@ -22,15 +22,15 @@
22
22
  </data>
23
23
  <key>Info.plist</key>
24
24
  <data>
25
- ZcuJkn9xNhVsJqoBIABvTFQCJeY=
25
+ O99oay2KncyGaCd8TMxVQByU9iE=
26
26
  </data>
27
27
  <key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo</key>
28
28
  <data>
29
- Zd9ttY/iHH48Y26RaeymNki0oQY=
29
+ ZxINoCQCZ5spXmhW0LHv3vK7CNs=
30
30
  </data>
31
31
  <key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
32
32
  <data>
33
- S2ocWD4eCfxOPX+jIQmvJ1lpFTU=
33
+ gc8OElYDMaHhyyXfRqlGFqb7gwk=
34
34
  </data>
35
35
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json</key>
36
36
  <data>
@@ -50,7 +50,7 @@
50
50
  </data>
51
51
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftmodule</key>
52
52
  <data>
53
- sNKIKPePQay/dfy1owovHJb5gI4=
53
+ n4f58xqigOVjEsNgyojOsHccuPU=
54
54
  </data>
55
55
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json</key>
56
56
  <data>
@@ -70,7 +70,7 @@
70
70
  </data>
71
71
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule</key>
72
72
  <data>
73
- KzaxJ/15N7pad32ojijqw6IJ3h8=
73
+ HfC4u0uFT8XhX84er/GGz9wQFFM=
74
74
  </data>
75
75
  <key>Modules/module.modulemap</key>
76
76
  <data>
@@ -90,7 +90,7 @@
90
90
  <dict>
91
91
  <key>hash2</key>
92
92
  <data>
93
- HWVwMEl1OqD2CaM7wNW2qYZMjECkdZHG9PsW2m/Ouks=
93
+ 85WcogKmEOlVrug885YQGGUrWbA9emqhJh+WBhAfNqo=
94
94
  </data>
95
95
  </dict>
96
96
  <key>Headers/DynatraceSwiftUI.h</key>
@@ -111,14 +111,14 @@
111
111
  <dict>
112
112
  <key>hash2</key>
113
113
  <data>
114
- 5KWFk803RhOAPqjcRg25AmDL0O1s8wiexM1gEzzHSPE=
114
+ JR9MVn90lRoxs6W+9mfOBh9LRZo9RUgmPCDSfo67W0U=
115
115
  </data>
116
116
  </dict>
117
117
  <key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
118
118
  <dict>
119
119
  <key>hash2</key>
120
120
  <data>
121
- mIOhvbHnpdq2qxnaE+OhvzPcoXTFaJxG8OgZq8JChCM=
121
+ 8CSS/C70bEj5IpgBSSPL+3GOL15hz2nezWEsQCAgZpw=
122
122
  </data>
123
123
  </dict>
124
124
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json</key>
@@ -153,7 +153,7 @@
153
153
  <dict>
154
154
  <key>hash2</key>
155
155
  <data>
156
- h5TET8UyxcieupsCDmgkI0bTXENRrk4OZixF0H3T+YY=
156
+ OEFXCDU4cDs++EFyduGdAyh03H2Ni1Q5igFBKhkzc4o=
157
157
  </data>
158
158
  </dict>
159
159
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json</key>
@@ -188,7 +188,7 @@
188
188
  <dict>
189
189
  <key>hash2</key>
190
190
  <data>
191
- dFg7ixFcEr0L0hIWK0CZOlK4LZUuLuCE7mPqW8yFYx4=
191
+ KHOINyHeXFri25vUSRMo+UCnDVb4lujmy3/mhDHHLN4=
192
192
  </data>
193
193
  </dict>
194
194
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/react-native-plugin",
3
- "version": "2.267.1",
3
+ "version": "2.269.1",
4
4
  "description": "This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.",
5
5
  "main": "index.js",
6
6
  "types": "typings/react-native-dynatrace.d.ts",
@@ -75,7 +75,7 @@
75
75
  "jscodeshift": "^0.15.0",
76
76
  "plist": "^3.0.6",
77
77
  "proxy-polyfill": "^0.3.2",
78
- "semver": "^7.5.1"
78
+ "semver": "^7.5.3"
79
79
  },
80
80
  "homepage": "https://www.dynatrace.com/",
81
81
  "peerDependencies": {
package/scripts/Ios.js CHANGED
@@ -6,6 +6,7 @@ const plist = require("plist");
6
6
  const Logger_1 = require("./Logger");
7
7
  const FileOperationHelper_1 = require("./FileOperationHelper");
8
8
  const PathsConstants_1 = require("./PathsConstants");
9
+ const PlistConstants_1 = require("./util/PlistConstants");
9
10
  const modifyPListFile = (pathToPList, iosConfig, removeOnly) => {
10
11
  if (pathToPList === undefined) {
11
12
  pathToPList = findPListFile();
@@ -73,7 +74,7 @@ const removePListConfig = (file) => {
73
74
  };
74
75
  const addAgentConfigToPListFile = (file, config) => {
75
76
  const pListContent = FileOperationHelper_1.default.readTextFromFileSync(file);
76
- const newPListContent = `<plist><dict>${config}</dict></plist>`;
77
+ const newPListContent = PlistConstants_1.START_PLIST + config + PlistConstants_1.END_PLIST;
77
78
  FileOperationHelper_1.default.writeTextToFileSync(file, plist.build(Object.assign(Object.assign({}, plist.parse(pListContent)), plist.parse(newPListContent))));
78
79
  Logger_1.default.logMessageSync('Updated configuration in plist file: ' + file, Logger_1.default.INFO);
79
80
  };
@@ -109,8 +110,8 @@ const parsePList = (file) => {
109
110
  return pListObj = Object.assign({}, pListObj);
110
111
  };
111
112
  const isAutoStartEnabled = (config) => {
112
- if (config !== undefined && config.indexOf('<key>DTXAutoStart</key>') >= 0) {
113
- const configObj = '<plist><dict>' + config + '</dict></plist>';
113
+ if (config !== undefined && config.indexOf(PlistConstants_1.AUTO_START_PROP) >= 0) {
114
+ const configObj = PlistConstants_1.START_PLIST + config + PlistConstants_1.END_PLIST;
114
115
  const configObjCopy = plist.parse(configObj);
115
116
  const configKeys = Object.keys(configObjCopy);
116
117
  const configValues = Object.values(configObjCopy);
@@ -123,8 +124,22 @@ const isAutoStartEnabled = (config) => {
123
124
  return true;
124
125
  };
125
126
  const checkForBeaconUrlAndAppId = (config) => config != null && config.indexOf('DTXApplicationID') >= 0 && config.indexOf('DTXBeaconURL') >= 0;
127
+ const checkForExcludedControls = (config) => config != null && config.indexOf('DTXExcludedControls') >= 0;
128
+ const updatedExcludedStr = (config) => {
129
+ if (checkForExcludedControls(config)) {
130
+ const controlsArr = Object.keys(PlistConstants_1.CONTROLS_PROP_OPTIONS);
131
+ let updatedStr = `${PlistConstants_1.START_CONTROLS_PROP}${PlistConstants_1.CONTROLS_PROP_OPTIONS.PickerView}`;
132
+ for (let index = 0; index < controlsArr.length; index++) {
133
+ if (controlsArr[index] !== 'PickerView' && config.indexOf(PlistConstants_1.CONTROLS_PROP_OPTIONS[controlsArr[index]].trim()) >= 0) {
134
+ updatedStr = updatedStr + PlistConstants_1.CONTROLS_PROP_OPTIONS[controlsArr[index]];
135
+ }
136
+ }
137
+ return `${updatedStr}${PlistConstants_1.END_CONTROLS_PROP}`;
138
+ }
139
+ return PlistConstants_1.DEFAULT_CONTROLS_PROP;
140
+ };
126
141
  const isPropertyCountEqual = (parsedPList, config) => {
127
- const configObj = '<plist><dict>' + config + '</dict></plist>';
142
+ const configObj = PlistConstants_1.START_PLIST + config + PlistConstants_1.END_PLIST;
128
143
  const configObjCopy = plist.parse(configObj);
129
144
  return Object.keys(parsedPList)
130
145
  .filter((pListDtxKeys) => pListDtxKeys.startsWith('DTX')).length === Object.keys(configObjCopy)
@@ -144,7 +159,7 @@ const areConfigsEqual = (parsedPList, configObj) => {
144
159
  return true;
145
160
  };
146
161
  const comparePListAndConfig = (pListObj, config) => {
147
- const configObj = '<plist><dict>' + config + '</dict></plist>';
162
+ const configObj = PlistConstants_1.START_PLIST + config + PlistConstants_1.END_PLIST;
148
163
  const configObjCopy = plist.parse(configObj);
149
164
  removeNonDTXProperties(pListObj);
150
165
  removeNonDTXProperties(configObjCopy);
@@ -166,7 +181,7 @@ const hasDuplicateProperties = (config) => {
166
181
  return !newConfigArr.every((property) => newConfigArr.indexOf(property) === newConfigArr.lastIndexOf(property));
167
182
  };
168
183
  const createNewPListIfRequired = (parsedPList, configProps, pathToPList) => {
169
- const configIncludingFlavor = configProps + '<key>DTXFlavor</key>\n<string>react_native</string>';
184
+ const configIncludingFlavor = configProps + PlistConstants_1.FLAVOR_PROP + updatedExcludedStr(configProps);
170
185
  if (isPropertyCountEqual(parsedPList, configIncludingFlavor) && comparePListAndConfig(parsedPList, configIncludingFlavor)) {
171
186
  Logger_1.default.logMessageSync('Not generating a new plist as the current plist and ' +
172
187
  ' dynatrace.config.js iOS properties are identical!', Logger_1.default.INFO);
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CONTROLS_PROP_OPTIONS = exports.END_CONTROLS_PROP = exports.START_CONTROLS_PROP = exports.DEFAULT_CONTROLS_PROP = exports.FLAVOR_PROP = exports.AUTO_START_PROP = exports.END_PLIST = exports.START_PLIST = void 0;
4
+ exports.START_PLIST = '<plist><dict>';
5
+ exports.END_PLIST = '</dict></plist>';
6
+ exports.AUTO_START_PROP = '<key>DTXAutoStart</key>';
7
+ exports.FLAVOR_PROP = '<key>DTXFlavor</key>\n<string>react_native</string>';
8
+ exports.DEFAULT_CONTROLS_PROP = '<key>DTXExcludedControls</key>\n<array>\n\t<string>PickerView</string>\n</array>';
9
+ exports.START_CONTROLS_PROP = '<key>DTXExcludedControls</key>\n<array>';
10
+ exports.END_CONTROLS_PROP = '\n</array>';
11
+ exports.CONTROLS_PROP_OPTIONS = {
12
+ Button: '\n\t<string>Button</string>',
13
+ DatePicker: '\n\t<string>DatePicker</string>',
14
+ Slider: '\n\t<string>Slider</string>',
15
+ Stepper: '\n\t<string>Stepper</string>',
16
+ Switch: '\n\t<string>Switch</string>',
17
+ RefreshControl: '\n\t<string>RefreshControl</string>',
18
+ ToolBar: '\n\t<string>ToolBar</string>',
19
+ SegmentedControl: '\n\t<string>SegmentedControl</string>',
20
+ TableView: '\n\t<string>TableView</string>',
21
+ TabBar: '\n\t<string>TabBar</string>',
22
+ AlertView: '\n\t<string>AlertView</string>',
23
+ AlertAction: '\n\t<string>AlertAction</string>',
24
+ PageView: '\n\t<string>PageView</string>',
25
+ NavigationController: '\n\t<string>NavigationController</string>',
26
+ CollectionView: '\n\t<string>CollectionView</string>',
27
+ ActionSheet: '\n\t<string>ActionSheet</string>',
28
+ PickerView: '\n\t<string>PickerView</string>',
29
+ };