@dynatrace/react-native-plugin 2.297.1 → 2.299.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 +21 -17
- package/android/build.gradle +1 -1
- package/files/plugin.gradle +1 -1
- package/ios/DynatraceRNBridge.mm +12 -2
- package/package.json +3 -3
- package/react-native-dynatrace.podspec +1 -1
package/README.md
CHANGED
|
@@ -31,8 +31,8 @@ If you want to start using this plugin and are not a Dynatrace customer yet, hea
|
|
|
31
31
|
## Agent Versions
|
|
32
32
|
This agent versions are configured in this plugin:
|
|
33
33
|
|
|
34
|
-
* Android Agent: 8.
|
|
35
|
-
* iOS Agent: 8.
|
|
34
|
+
* Android Agent: 8.299.1.1004
|
|
35
|
+
* iOS Agent: 8.299.1.1003
|
|
36
36
|
|
|
37
37
|
## Quick Setup
|
|
38
38
|
|
|
@@ -1438,31 +1438,35 @@ If you are struggling with a problem, submit a support ticket to Dynatrace (supp
|
|
|
1438
1438
|
<br/><br/>
|
|
1439
1439
|
## Changelog
|
|
1440
1440
|
|
|
1441
|
-
2.
|
|
1442
|
-
*
|
|
1441
|
+
2.299.1
|
|
1442
|
+
* Updated Android (8.299.1.1004) & iOS Agent (8.299.1.1003)
|
|
1443
|
+
|
|
1444
|
+
2.297.2
|
|
1445
|
+
* Updated Android (8.297.1.1003) & iOS Agent (8.297.1.1004)
|
|
1443
1446
|
* Added information about [Instrumentation Overhead](#instrumentation-overhead) to README
|
|
1447
|
+
* Fixed manual webrequest timing missing stopWebRequestTimingWithSize in iOS
|
|
1444
1448
|
|
|
1445
1449
|
2.295.1
|
|
1446
|
-
*
|
|
1450
|
+
* Updated Android (8.295.1.1006) & iOS Agent (8.295.1.1020)
|
|
1447
1451
|
* Add list of supported/unsupported libraries to README
|
|
1448
1452
|
|
|
1449
1453
|
2.293.2
|
|
1450
|
-
*
|
|
1454
|
+
* Updated Android (8.293.1.1003) & iOS Agent (8.293.1.1003)
|
|
1451
1455
|
* Preventing double instrumentation of touchables
|
|
1452
1456
|
* Fixed instrumentation of Text component because of missing static access
|
|
1453
1457
|
|
|
1454
1458
|
2.291.2
|
|
1455
|
-
*
|
|
1459
|
+
* Updated Android (8.291.1.1002) & iOS Agent (8.291.1.1004)
|
|
1456
1460
|
* Updated the way we report unhandled errors without a stacktrace
|
|
1457
1461
|
* Touchable instrumentation was partly broken for static access
|
|
1458
1462
|
|
|
1459
1463
|
2.289.1
|
|
1460
|
-
*
|
|
1464
|
+
* Updated Android (8.289.2.1007) & iOS Agent (8.289.1.1015)
|
|
1461
1465
|
* Added option to disable error handler for auto and manual start
|
|
1462
1466
|
* Updated touchable instrumentation for React Native v74
|
|
1463
1467
|
|
|
1464
1468
|
2.287.3
|
|
1465
|
-
*
|
|
1469
|
+
* Updated Android (8.287.1.1006) & iOS Agent (8.287.2.1009)
|
|
1466
1470
|
* Added request and response size to [manual web request tagging](#manual-web-request-tagging)
|
|
1467
1471
|
* Improved logging of configuration at startup
|
|
1468
1472
|
* Fixed dtActionName when using ActionNamePrivacy
|
|
@@ -1470,46 +1474,46 @@ If you are struggling with a problem, submit a support ticket to Dynatrace (supp
|
|
|
1470
1474
|
2.285.2
|
|
1471
1475
|
* Fixed bridge module issue for older React Native versions (< 0.65.0)
|
|
1472
1476
|
* Introduced support for @react-native/metro-babel-transformer
|
|
1473
|
-
*
|
|
1477
|
+
* Updated Android (8.287.1.1006) & iOS Agent (8.285.1.1004)
|
|
1474
1478
|
|
|
1475
1479
|
2.283.3
|
|
1476
1480
|
* Added Auto-Instrumentation for React Native Switch
|
|
1477
1481
|
* Updated instrumentation of RefreshControl (dtActionIgnore & dtActionName)
|
|
1478
1482
|
* Updated instrumentation of Picker (dtActionIgnore & dtActionName)
|
|
1479
1483
|
* Minimum Support iOS version raised to 12
|
|
1480
|
-
*
|
|
1484
|
+
* Updated Android (8.283.1.1004) & iOS Agent (8.283.1.1004)
|
|
1481
1485
|
|
|
1482
1486
|
2.279.4
|
|
1483
1487
|
* Updated iOS crash report sending strategy
|
|
1484
1488
|
* Configuration printed on startup fixed
|
|
1485
|
-
*
|
|
1489
|
+
* Updated Android (8.279.1.1002) & iOS Agent (8.279.1.1008)
|
|
1486
1490
|
* Improved event handling for touchable instrumentation
|
|
1487
1491
|
* Added logic for nested arrays when traversing touch event name
|
|
1488
1492
|
* Fixed Auto Startup issue for RN v73
|
|
1489
1493
|
* Fixed Android build as execution order of plugins was wrong
|
|
1490
1494
|
|
|
1491
1495
|
2.277.1
|
|
1492
|
-
*
|
|
1496
|
+
* Updated Android (8.277.1.1003) & iOS Agent (8.277.1.1004)
|
|
1493
1497
|
* Introduced `ConfigurationBuilder` for Manual Startup
|
|
1494
1498
|
* Deprecating `ManualStartupConfiguration` for Manual Startup
|
|
1495
1499
|
|
|
1496
1500
|
2.275.1
|
|
1497
|
-
*
|
|
1501
|
+
* Updated iOS Agent (8.275.1.1006)
|
|
1498
1502
|
* Add documentation for manually tagging web requests
|
|
1499
1503
|
|
|
1500
1504
|
2.273.1
|
|
1501
|
-
*
|
|
1505
|
+
* Updated Android (8.273.1.1003) & iOS Agent (8.273.1.1006)
|
|
1502
1506
|
* Crash handler initialization happens earlier in the application
|
|
1503
1507
|
* Ignoring duplicated crashes through native crash handler
|
|
1504
1508
|
|
|
1505
1509
|
2.271.3
|
|
1506
|
-
*
|
|
1510
|
+
* Updated Android (8.271.1.1003) & iOS Agent (8.271.2.1007)
|
|
1507
1511
|
* Fixed createElement logic for older React Native versions
|
|
1508
1512
|
* Fixed asynchronous handler for Touchables
|
|
1509
1513
|
* Updated instrumentation of RefreshControl
|
|
1510
1514
|
|
|
1511
1515
|
2.269.1
|
|
1512
|
-
*
|
|
1516
|
+
* Updated Android (8.269.1.1009) & iOS Agent (8.269.1.1007)
|
|
1513
1517
|
* Updated instrumentation for iOS Picker to match Android
|
|
1514
1518
|
|
|
1515
1519
|
2.267.1
|
package/android/build.gradle
CHANGED
|
@@ -70,7 +70,7 @@ repositories {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
dependencies {
|
|
73
|
-
implementation 'com.dynatrace.agent:agent-android:8.
|
|
73
|
+
implementation 'com.dynatrace.agent:agent-android:8.299.1.1004'
|
|
74
74
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNative', '+')}"
|
|
75
75
|
}
|
|
76
76
|
|
package/files/plugin.gradle
CHANGED
package/ios/DynatraceRNBridge.mm
CHANGED
|
@@ -264,17 +264,27 @@ RCT_EXPORT_METHOD(startWebRequestTiming:(NSString*) requestTag url:(NSString*) u
|
|
|
264
264
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
|
|
267
|
+
- (void)stopWebRequestTimingHelper:(NSString*) requestTag url:(NSString*)url responseCode:(nonnull NSNumber*) responseCode responseMessage:(NSString*)responseMessage bytesSent:(nonnull NSNumber*)bytesSent bytesReceived:(nonnull NSNumber*)bytesReceived
|
|
268
268
|
{
|
|
269
269
|
if(requestTag != NULL){
|
|
270
270
|
DTXWebRequestTiming* timing = [webTimingsDict objectForKey:requestTag];
|
|
271
271
|
if(timing){
|
|
272
|
-
[timing stopWebRequestTiming:[responseCode stringValue]];
|
|
272
|
+
[timing stopWebRequestTiming:[responseCode stringValue] bytesSent:[bytesSent longLongValue] bytesReceived:[bytesReceived longLongValue]];
|
|
273
273
|
[webTimingsDict removeObjectForKey:requestTag];
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
+
RCT_EXPORT_METHOD(stopWebRequestTiming:(NSString*) requestTag url:(NSString*)url responseCode:(nonnull NSNumber*) responseCode responseMessage:(NSString*)responseMessage)
|
|
279
|
+
{
|
|
280
|
+
[self stopWebRequestTimingHelper:requestTag url:url responseCode:responseCode responseMessage:responseMessage bytesSent:0 bytesReceived:0];
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
RCT_EXPORT_METHOD(stopWebRequestTimingWithSize:(NSString*) requestTag url:(NSString*)url responseCode:(nonnull NSNumber*) responseCode responseMessage:(NSString*)responseMessage requestSize:(nonnull NSNumber*)requestSize responseSize:(nonnull NSNumber*)responseSize)
|
|
284
|
+
{
|
|
285
|
+
[self stopWebRequestTimingHelper:requestTag url:url responseCode:responseCode responseMessage:responseMessage bytesSent:requestSize bytesReceived:responseSize];
|
|
286
|
+
}
|
|
287
|
+
|
|
278
288
|
RCT_EXPORT_METHOD(identifyUser:(NSString *)user platform: (NSString *) platform)
|
|
279
289
|
{
|
|
280
290
|
if ([self shouldWorkOnIosWithPlatform: platform])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace/react-native-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.299.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",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"author": "Dynatrace",
|
|
72
72
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@babel/runtime": "^7.25.
|
|
75
|
-
"jscodeshift": "^0.
|
|
74
|
+
"@babel/runtime": "^7.25.6",
|
|
75
|
+
"jscodeshift": "^17.0.0",
|
|
76
76
|
"plist": "^3.1.0",
|
|
77
77
|
"proxy-polyfill": "^0.3.2",
|
|
78
78
|
"semver": "^7.6.3"
|
|
@@ -111,7 +111,7 @@ Pod::Spec.new do |s|
|
|
|
111
111
|
#
|
|
112
112
|
|
|
113
113
|
s.dependency "React"
|
|
114
|
-
s.dependency 'Dynatrace', '~> 8.
|
|
114
|
+
s.dependency 'Dynatrace', '~> 8.299.1.1003'
|
|
115
115
|
|
|
116
116
|
# Allows for better compatibility for older and newer versions
|
|
117
117
|
if defined?(install_modules_dependencies)
|