@dynatrace/react-native-plugin 2.299.1 → 2.301.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 +8 -2
- package/android/build.gradle +1 -1
- package/files/plugin.gradle +1 -1
- package/ios/DynatraceRNBridge.mm +0 -2
- package/lib/community/gesture-handler/Touchables.js +3 -0
- package/lib/instrumentor/base/configuration/Configuration.js +11 -10
- 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.301.1.1004
|
|
35
|
+
* iOS Agent: 8.301.1.1008
|
|
36
36
|
|
|
37
37
|
## Quick Setup
|
|
38
38
|
|
|
@@ -1438,6 +1438,12 @@ 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.301.1
|
|
1442
|
+
* Updated Android (8.301.1.1004) & iOS Agent (8.301.1.1008)
|
|
1443
|
+
* Fix iOS crashes to not report on session after crash
|
|
1444
|
+
* RectButton check/logic updated
|
|
1445
|
+
* Improved startup log line
|
|
1446
|
+
|
|
1441
1447
|
2.299.1
|
|
1442
1448
|
* Updated Android (8.299.1.1004) & iOS Agent (8.299.1.1003)
|
|
1443
1449
|
|
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.301.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
|
@@ -201,8 +201,6 @@ RCT_EXPORT_METHOD(storeCrash:(NSString *)crashName reason:(NSString *)reason sta
|
|
|
201
201
|
NSString* crashJson= [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
|
|
202
202
|
// Store react native crash
|
|
203
203
|
[[NSFileManager defaultManager] createFileAtPath:[dirPath stringByAppendingPathComponent:@"RNCrash.txt"] contents:[crashJson dataUsingEncoding:NSUTF8StringEncoding] attributes:nil];
|
|
204
|
-
|
|
205
|
-
[Dynatrace endVisit];
|
|
206
204
|
}
|
|
207
205
|
|
|
208
206
|
RCT_EXPORT_METHOD(reportErrorInAction:(nonnull NSString *)key errorName:(NSString *)errorName errorCode:(nonnull NSNumber *)errorCode platform: (NSString *) platform)
|
|
@@ -18,16 +18,17 @@ class Configuration {
|
|
|
18
18
|
}
|
|
19
19
|
toString() {
|
|
20
20
|
let configurationString;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
+
|
|
29
|
-
+
|
|
30
|
-
+
|
|
21
|
+
const isAutoStart = this.beaconUrl === '' && this.applicationId === '';
|
|
22
|
+
configurationString = `{Startup: ${isAutoStart ? 'Auto' : 'Manual'} Start`
|
|
23
|
+
+ (isAutoStart ? '' : `, applicationId: ${this.applicationId}`)
|
|
24
|
+
+ (isAutoStart ? '' : `, beaconUrl: ${this.beaconUrl}`)
|
|
25
|
+
+ `, reportCrash: ${this.reportCrash}`
|
|
26
|
+
+ `, errorHandler: ${this.errorHandler}`
|
|
27
|
+
+ `, reportFatalErrorAsCrash: ${this.reportFatalErrorAsCrash}`
|
|
28
|
+
+ `, lifecycleUpdate: ${this.lifecycleUpdate}`
|
|
29
|
+
+ (isAutoStart ? '' : `, userOptIn: ${this.userOptIn}`)
|
|
30
|
+
+ `, actionNamePrivacy: ${this.actionNamePrivacy}`
|
|
31
|
+
+ `, logLevel: ${(0, LogLevel_1.LogLevelToString)(this.logLevel)}`;
|
|
31
32
|
if (this.bundleName !== undefined) {
|
|
32
33
|
configurationString += `, bundleName: ${this.bundleName}`;
|
|
33
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace/react-native-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.301.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,7 +71,7 @@
|
|
|
71
71
|
"author": "Dynatrace",
|
|
72
72
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@babel/runtime": "^7.25.
|
|
74
|
+
"@babel/runtime": "^7.25.7",
|
|
75
75
|
"jscodeshift": "^17.0.0",
|
|
76
76
|
"plist": "^3.1.0",
|
|
77
77
|
"proxy-polyfill": "^0.3.2",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"react-native": ">=0.62.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@babel/cli": "^7.
|
|
88
|
+
"@babel/cli": "^7.25.7",
|
|
89
89
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
90
90
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
|
91
91
|
"@babel/plugin-proposal-optional-chaining": "^7.8.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.301.1.1008'
|
|
115
115
|
|
|
116
116
|
# Allows for better compatibility for older and newer versions
|
|
117
117
|
if defined?(install_modules_dependencies)
|