@dynatrace/react-native-plugin 2.337.1 → 2.337.2

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 CHANGED
@@ -35,7 +35,7 @@ If you want to start using this plugin and are not a Dynatrace customer yet, hea
35
35
  ## Agent Versions
36
36
  These agent versions are configured in this plugin:
37
37
 
38
- * Android Agent: 8.337.2.1010
38
+ * Android Agent: 8.337.3.1013
39
39
  * iOS Agent: 8.337.1.1003
40
40
 
41
41
  ## Quick Setup
@@ -1988,6 +1988,10 @@ If you are struggling with a problem, submit a support ticket to Dynatrace (supp
1988
1988
  <br/><br/>
1989
1989
  ## Changelog
1990
1990
 
1991
+ 2.337.2
1992
+ * Updated Android Agent (8.337.3.1013)
1993
+ * Fixed crash in `Dynatrace.getUserPrivacyOptions()` on Android
1994
+
1991
1995
  2.337.1
1992
1996
  * Updated Android (8.337.2.1010) & iOS Agent (8.337.1.1003)
1993
1997
  * Fixed gradle path derivation for custom `--gradle` arguments: the plugin now correctly probes the filesystem to auto-detect `app/build.gradle(.kts)` with proper Kotlin DSL support, and validates that only `build.gradle` or `build.gradle.kts` files are accepted (not `settings.gradle`).
@@ -72,7 +72,7 @@ repositories {
72
72
  }
73
73
 
74
74
  dependencies {
75
- implementation 'com.dynatrace.agent:agent-android:8.337.2.1010'
75
+ implementation 'com.dynatrace.agent:agent-android:8.337.3.1013'
76
76
  implementation "com.facebook.react:react-native:${safeExtGet('reactNative', '+')}"
77
77
  }
78
78
 
@@ -400,7 +400,7 @@ class DynatraceRNBridgeImpl(
400
400
  val privacyMap = Arguments.createMap()
401
401
  privacyMap.putString("dataCollectionLevel", options.dataCollectionLevel.name)
402
402
  privacyMap.putBoolean("crashReportingOptedIn", options.isCrashReportingOptedIn)
403
- privacyMap.putBoolean("screenRecordOptedIn", options.isScreenRecordOptedIn)
403
+ privacyMap.putBoolean("screenRecordOptedIn", options.isScreenRecordOptedIn ?: false)
404
404
  promise.resolve(privacyMap)
405
405
  }
406
406
  }
@@ -1,4 +1,4 @@
1
1
  // TEMPLATE: plugin-gradle.template
2
2
  dependencies {
3
- classpath 'com.dynatrace.tools.android:gradle-plugin:8.337.2.1010'
3
+ classpath 'com.dynatrace.tools.android:gradle-plugin:8.337.3.1013'
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/react-native-plugin",
3
- "version": "2.337.1",
3
+ "version": "2.337.2",
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": "types.d.ts",
@@ -53,7 +53,7 @@
53
53
  "jscodeshift": "^17.3.0",
54
54
  "plist": "^3.1.0",
55
55
  "proxy-polyfill": "^0.3.2",
56
- "semver": "^7.7.4"
56
+ "semver": "^7.8.0"
57
57
  },
58
58
  "homepage": "https://www.dynatrace.com/",
59
59
  "peerDependencies": {