@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.
- package/README.md +6 -2
- package/android/build.gradle +1 -1
- package/files/plugin.gradle +1 -1
- package/ios/lib/Dynatrace.xcframework/Info.plist +8 -8
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +1 -1
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.abi.json +30 -2
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +1 -1
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json +30 -2
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json +30 -2
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +23 -23
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +1 -1
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +1 -1
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +11 -11
- package/package.json +2 -2
- package/scripts/Ios.js +21 -6
- 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.
|
|
33
|
-
* Android Agent: 8.
|
|
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)
|
package/android/build.gradle
CHANGED
|
@@ -36,7 +36,7 @@ repositories {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
dependencies {
|
|
39
|
-
implementation 'com.dynatrace.agent:agent-android:8.
|
|
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
|
|
package/files/plugin.gradle
CHANGED
|
@@ -6,18 +6,15 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>LibraryIdentifier</key>
|
|
9
|
-
<string>tvos-
|
|
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>
|
|
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>
|
|
44
|
+
<string>ios</string>
|
|
48
45
|
</dict>
|
|
49
46
|
<dict>
|
|
50
47
|
<key>LibraryIdentifier</key>
|
|
51
|
-
<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>
|
|
57
|
+
<string>tvos</string>
|
|
58
|
+
<key>SupportedPlatformVariant</key>
|
|
59
|
+
<string>simulator</string>
|
|
60
60
|
</dict>
|
|
61
61
|
</array>
|
|
62
62
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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\/
|
|
286
|
+
"filePath": "\/opt\/jenkins\/workspace\/eAgent_ios-agent_release_8.269.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
|
|
259
287
|
"kind": "BooleanLiteral",
|
|
260
|
-
"offset":
|
|
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 {
|
package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace
CHANGED
|
Binary file
|
package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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\/
|
|
286
|
+
"filePath": "\/opt\/jenkins\/workspace\/eAgent_ios-agent_release_8.269.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
|
|
259
287
|
"kind": "BooleanLiteral",
|
|
260
|
-
"offset":
|
|
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\/
|
|
286
|
+
"filePath": "\/opt\/jenkins\/workspace\/eAgent_ios-agent_release_8.269.x\/adk\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
|
|
259
287
|
"kind": "BooleanLiteral",
|
|
260
|
-
"offset":
|
|
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
|
-
|
|
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
|
-
|
|
25
|
+
B1g1vMCJ0hRm+sPnUW5PlW0Z2i4=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
C1vq2vI7OL5d6h3bsnODAOur+yI=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
wGag4cQ8e3hY+iaN9OvUQKVoecU=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
gsW2OpTlgV/V7I/6YqVNkxRZqCI=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
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
|
-
|
|
49
|
+
kERuMa00nqclNSoc9FuJLgCfKAY=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
MiQDUM44dey4k5hJqaL9XWsDLUA=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
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
|
-
|
|
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
|
-
|
|
69
|
+
ukhL/+ZhfLrHiwBEFgWgve9x8fw=
|
|
70
70
|
</data>
|
|
71
71
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
72
72
|
<data>
|
|
73
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
191
|
+
YQVpZUGjWEBzLbiBeVy+ClakkDO2OgcqAa3W7pxn/wA=
|
|
192
192
|
</data>
|
|
193
193
|
</dict>
|
|
194
194
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace
CHANGED
|
Binary file
|
package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Dynatrace.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
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
|
-
|
|
25
|
+
O99oay2KncyGaCd8TMxVQByU9iE=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
ZxINoCQCZ5spXmhW0LHv3vK7CNs=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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 =
|
|
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(
|
|
113
|
-
const configObj =
|
|
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 =
|
|
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 =
|
|
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 +
|
|
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
|
+
};
|