@dynatrace/cordova-plugin 2.333.1 → 2.337.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 (58) hide show
  1. package/README.md +144 -122
  2. package/files/iOS/Dynatrace.xcframework/Info.plist +8 -8
  3. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeDirectory +0 -0
  4. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  5. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeResources +135 -135
  6. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeSignature +0 -0
  7. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
  8. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +3 -1
  9. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  10. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
  11. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  12. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.abi.json +10 -2
  13. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -4
  14. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  15. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +4 -4
  16. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  17. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +6 -2
  18. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  19. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  20. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  21. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  22. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json +10 -2
  23. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -4
  24. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  25. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -4
  26. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json +10 -2
  27. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -4
  28. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -4
  30. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +29 -29
  31. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
  32. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +3 -1
  33. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  34. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
  35. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
  36. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.private.swiftinterface +3 -3
  37. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftdoc +0 -0
  38. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftinterface +3 -3
  39. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  40. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +6 -2
  41. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +1 -1
  42. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  43. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
  44. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
  45. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface +3 -3
  46. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftdoc +0 -0
  47. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface +3 -3
  48. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface +3 -3
  49. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc +0 -0
  50. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface +3 -3
  51. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +25 -25
  52. package/files/plugin.gradle +1 -1
  53. package/networking/NativeNetworkInterceptorUtils.js +2 -2
  54. package/package.json +3 -3
  55. package/plugin.xml +2 -2
  56. package/scripts/helpers/FileHelper.js +4 -4
  57. package/scripts/helpers/InstallHelper.js +5 -1
  58. package/scripts/helpers/PathHelper.js +2 -14
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Dynatrace Cordova Plugin
4
4
 
5
- This plugin gives you the ability to use the Dynatrace instrumentation in your hybrid application (Cordova, Ionic, Capacitor ..). It uses the Mobile Agent and the JavaScript Agent. The Mobile Agent will give you all device specific values containing lifecycle information and the JavaScript Agent will allow you to manually instrument your JavaScript/TypeScript code out of the box (TypeScript definitions included). The JavaScript Agent will cover the network calls (depending on your used libraries) and will automatically detect them.
5
+ This plugin gives you the ability to use the Dynatrace instrumentation in your hybrid application (Cordova, Ionic, Capacitor ..). It uses OneAgent for Mobile and RUM JavaScript. OneAgent for Mobile will give you all device specific values containing lifecycle information and RUM JavaScript will allow you to manually instrument your JavaScript/TypeScript code out of the box (TypeScript definitions included). RUM JavaScript will cover the network calls (depending on your used libraries) and will automatically detect them.
6
6
 
7
7
  ## Upgrading major versions
8
8
 
@@ -24,17 +24,31 @@ For information as to why this is necessary, read more [here](#migration-from-ma
24
24
  * Java 11
25
25
  * Jetpack Compose 1.4 - 1.10 - see [Compose Compatibility Note](#compose-compatibility-note)
26
26
  * For iOS users: Minimum iOS 12
27
- * For JavaScript Agent: access to API of cluster
27
+ * For RUM JavaScript: access to API of cluster
28
28
  * Node: >= 20.x
29
29
  * Cordova: 10+
30
30
  * Capacitor: 6+
31
31
 
32
- ## Agent Versions
32
+ ## OneAgent Versions
33
33
 
34
- These agent versions are configured in this plugin:
34
+ These OneAgent versions are configured in this plugin:
35
35
 
36
- * Android Agent: 8.333.1.1006
37
- * iOS Agent: 8.333.1.1005
36
+ * Android OneAgent: 8.337.2.1010
37
+ * iOS OneAgent: 8.337.1.1003
38
+
39
+ ## OneAgent compatibility
40
+
41
+ OneAgent for Mobile and RUM JavaScript are compatible with each other unless at least one of them reaches End of Support (EoS). To check the support status of their versions, see [Scheduled EoL for unsupported OneAgent versions](https://docs.dynatrace.com/docs/shortlink/end-of-life#scheduled-eol-for-unsupported-oneagent-versions).
42
+
43
+ If versions of both OneAgent for Mobile and RUM JavaScript are within their supported lifecycles, no additional compatibility validation is required. The optimal approach is to keep both of them updated to their latest versions. The only exception is when the Dynatrace documentation explicitly identifies a conflict between specific versions of OneAgent for Mobile and RUM JavaScript. In this case, refer to the documentation for guidance on how to resolve the conflict.
44
+
45
+ ### Feature-specific compatibility requirements
46
+
47
+ Some features require a minimum version of OneAgent for Mobile or RUM JavaScript to function properly. If you rely on a feature that has a version dependency, you must ensure both OneAgent for Mobile and RUM JavaScript meet those minimum requirements even if both are within their supported lifecycles.
48
+
49
+ Examples of known feature-specific version requirements:
50
+
51
+ * To use the [iOS-only configuration feature](#ios-only-configuration) with the Dynatrace Cordova plugin, **RUM JavaScript version 1.327 or higher** is required. In addition to the minimum version, you must add the corresponding property to your `dynatrace.config.js` file. See [iOS only configuration](#ios-only-configuration) for required configuration details.
38
52
 
39
53
  ## Quick Setup
40
54
 
@@ -45,6 +59,8 @@ These agent versions are configured in this plugin:
45
59
 
46
60
  ## Advanced Topics
47
61
 
62
+ * [OneAgent compatibility](#oneagent-compatibility)
63
+ * [Feature-specific compatibility requirements](#feature-specific-compatibility)
48
64
  * [Capacitor instrumentation](#capacitor-instrumentation)
49
65
  * [Opt out](#opt-out)
50
66
  * [Cordova configuration](#cordova-configuration)
@@ -52,14 +68,14 @@ These agent versions are configured in this plugin:
52
68
  * [Content Security Policy url](#content-security-policy-url)
53
69
  * [Cookie Proxy](#cookie-proxy)
54
70
  * [Capacitor Cookie Proxy](#capacitor-cookie-proxy)
55
- * [JS Agent Path](#js-agent-path)
71
+ * [RUM JavaScript Path](#rum-javascript-path)
56
72
  * [Gradle Path](#gradle-path)
57
73
  * [Plist Path](#plist-path)
58
- * [Mobile Agent configuration](#mobile-agent-configuration)
74
+ * [OneAgent for Mobile configuration](#oneagent-for-mobile-configuration)
59
75
  * [Hybrid related configuration](#hybrid-related-configuration)
60
76
  * [iOS only configuration](#ios-only-configuration)
61
- * [JavaScript Agent configuration](#javascript-agent-configuration)
62
- * [JavaScript Agent Snippet Mode](#javascript-agent-snippet-mode)
77
+ * [RUM JavaScript configuration](#rum-javascript-configuration)
78
+ * [RUM JavaScript Snippet Mode](#rum-javascript-snippet-mode)
63
79
  * [HTML Instrumentation Requirements](#html-instrumentation-requirements)
64
80
  * [Allow any certificate](#allow-any-certificate)
65
81
  * [Manual instrumentation](#manual-instrumentation)
@@ -67,11 +83,11 @@ These agent versions are configured in this plugin:
67
83
  * [Report error](#report-error)
68
84
  * [Identify user](#identify-user)
69
85
  * [More examples](#more-examples)
70
- * [Typings file for JavaScript Agent API](#typings-file-for-javascript-agent-api)
71
- * [Manual instrumentation - Mobile Agent](#manual-instrumentation-mobile-agent)
86
+ * [Typings file for RUM JavaScript API](#typings-file-for-rum-javascript-api)
87
+ * [Manual instrumentation - OneAgent for Mobile](#manual-instrumentation-oneagent-for-mobile)
72
88
  * [End session](#end-session)
73
89
  * [User Privacy Options](#user-privacy-options)
74
- * [Typings file for Mobile Agent API](#typings-file-for-mobile-agent-api)
90
+ * [Typings file for OneAgent for Mobile API](#typings-file-for-oneagent-for-mobile-api)
75
91
  * [Native Webrequests](#native-webrequests)
76
92
  * [IBM Mobile First](#ibm-mobile-first)
77
93
  * [Ionic WebView for Cordova](#ionic-webview-for-cordova)
@@ -119,7 +135,7 @@ Be aware for Capacitor after installation some [extra configuration steps](#capa
119
135
 
120
136
  ## 2. Configuration with Dynatrace
121
137
 
122
- If you want to instrument your Cordova application just go to your Dynatrace WebUI and select the menu point "Deploy Dynatrace". Choose to setup mobile monitoring and select Cordova. Afterwards it is possible for you to add the Web part (JavaScript Agent) automatically and download the `dynatrace.config.js` file.
138
+ If you want to instrument your Cordova application just go to your Dynatrace WebUI and select the menu point "Deploy Dynatrace". Choose to setup mobile monitoring and select Cordova. Afterwards it is possible for you to add the Web part (RUM JavaScript) automatically and download the `dynatrace.config.js` file.
123
139
 
124
140
  This file should be placed in the `root of your project` (same place where the *package.json* is stored). If the file is not available the instrumentation will not work.
125
141
 
@@ -216,7 +232,7 @@ There is flag for updating the CSP (Content Security Policy). By default this va
216
232
 
217
233
  ### Cookie Proxy
218
234
 
219
- Issues with cookies are somehow a persistent companion in Ionic or Capacitor applications. Therefore, we provide a proxy script which is wrapping the document.cookie API and are storing the cookies which are important for the Dynatrace Agents in the session storage. Of course this wrapping is still calling the original API. Please see the [Capacitor Cookie Proxy](#capacitor-cookie-proxy) section below if you are using `CapacitorCookies` in your application. If not, please see the configuration below.
235
+ Issues with cookies are somehow a persistent companion in Ionic or Capacitor applications. Therefore, we provide a proxy script which is wrapping the document.cookie API and are storing the cookies which are important for Dynatrace OneAgents in the session storage. Of course this wrapping is still calling the original API. Please see the [Capacitor Cookie Proxy](#capacitor-cookie-proxy) section below if you are using `CapacitorCookies` in your application. If not, please see the configuration below.
220
236
 
221
237
  Per default the cookie proxy is turned off. To make use of this proxy you need to enable it in the cordova configuration in the dynatrace.config.js:
222
238
 
@@ -249,20 +265,20 @@ If you are not using `CapacitorCookies` in your application, please be sure to f
249
265
  **NOTE:**
250
266
  If `CapacitorCookies` is set to true, we will not inject our proxy as there have been issues when using both `CapacitorCookies` and our proxy at the same time. Also, if you have both `cookieProxy` and `capacitorCookieProxy` set to true while `CapacitorCookies` is set to false, we will add the capacitor cookie proxy.
251
267
 
252
- ### JS Agent Path
268
+ ### RUM JavaScript Path
253
269
 
254
- If you want to use a local script/text file that includes the JS Agent snippet downloaded from the WebUI or retrieved from using the Dynatrace API. Note that you can name the file whatever you want but the file and directory that you use needs to exist. The file downloaded from the WebUI will be named `jsSnippet.txt` by default.
270
+ If you want to use a local script/text file that includes the RUM JavaScript snippet downloaded from the WebUI or retrieved from using the Dynatrace API. Note that you can name the file whatever you want but the file and directory that you use needs to exist. The file downloaded from the WebUI will be named `jsSnippet.txt` by default.
255
271
 
256
272
  ### Gradle Path
257
273
 
258
- If your top level build.gradle is not in the standard location or you want to use a specific build.gradle, you can specify a path to the desired file. We will assume that the other gradle file resides in `/app/build.gradle`. This will add all agent dependencies automatically for you and will update the configuration.
274
+ If your top level build.gradle is not in the standard location or you want to use a specific build.gradle, you can specify a path to the desired file. We will assume that the other gradle file resides in `/app/build.gradle`. This will add all OneAgent dependencies automatically for you and will update the configuration.
259
275
 
260
276
  ### Plist Path
261
277
 
262
- Tell the script where your Info.plist file is. The plist file is used for updating the configuration for the iOS agent.
278
+ Tell the script where your Info.plist file is. The plist file is used for updating the configuration for the iOS OneAgent.
263
279
 
264
280
 
265
- ## Mobile Agent configuration
281
+ ## OneAgent for Mobile configuration
266
282
 
267
283
  ```js
268
284
  module.exports = {
@@ -276,7 +292,7 @@ module.exports = {
276
292
  }
277
293
  ```
278
294
 
279
- The native configuration contains all the settings which are necessary for the Mobile Agent(s). You can find all the available properties in the [documentation](#official-documentation) of the mobile agent.
295
+ The native configuration contains all the settings which are necessary for OneAgent for Mobile. You can find all the available properties in the [documentation](#official-documentation) of OneAgent for Mobile.
280
296
 
281
297
  The content of the `ios.config` property will be directly copied to the plist file. The content of the `android.config` property will be directly copied to the gradle file.
282
298
 
@@ -320,13 +336,13 @@ module.exports = {
320
336
 
321
337
  * `DTXHybridApplication` or `hybridWebView.enabled` : Set to `true` if you have a Hybrid application. The default value is `false`.
322
338
 
323
- * `DTXSetCookiesForDomain` or `hybridWebView.domains` : For hybrid applications using the JavaScript agent, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot. Separate the list elements with a comma.
339
+ * `DTXSetCookiesForDomain` or `hybridWebView.domains` : For hybrid applications using RUM JavaScript, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot. Separate the list elements with a comma.
324
340
 
325
341
  ### iOS only configuration
326
342
 
327
343
  The `DTXHybridApplicationMode` flag is available for iOS only.
328
344
 
329
- Using the default value of `cookies` will set the behavior of the iOS agent to inject Javascript into the webview which allows the JS agent and iOS agent to correlate the mobile and web session via cookies and or local storage.
345
+ Using the default value of `cookies` will set the behavior of the iOS OneAgent to inject Javascript into the webview which allows RUM JavaScript and the iOS OneAgent to correlate the mobile and web session via cookies and or local storage.
330
346
 
331
347
  ```js
332
348
  module.exports = {
@@ -339,7 +355,7 @@ module.exports = {
339
355
  }
340
356
  ```
341
357
 
342
- Using the value of `useragent` will result in modifying the UserAgent header, which appends specific key/values that will allow the JS agent to correlate mobile and web sessions properly. This option requires cluster version (or JavaScript Agent version) 327 or higher.
358
+ Using the value of `useragent` will result in modifying the UserAgent header, which appends specific key/values that will allow RUM JavaScript to correlate mobile and web sessions properly. This option requires cluster version (or RUM JavaScript version) 327 or higher.
343
359
 
344
360
  **Note:** Using this setting will preserve the original UserAgent header and append the following string: `DTHybrid/x.x dtAdk=... dtAdkSettings=...`
345
361
 
@@ -356,18 +372,18 @@ module.exports = {
356
372
 
357
373
  * `DTXHybridApplication` or `hybridWebView.enabled` : Set to `true` if you have a Hybrid application. This property is automatically set to true if you are using the dynatrace.config.js file downloaded from the Instrumentation Wizard. Otherwise, the default value is `false`.
358
374
 
359
- ## JavaScript Agent configuration
375
+ ## RUM JavaScript configuration
360
376
 
361
- Basically all needed properties for the JavaScript Agent are predefined by the downloadable `dynatrace.config.js`. There are four available properties:
362
- * `url` - Dynatrace API url to retrieve the JS agent script tag.
363
- * `mode` - Values can be numbers 0-4 depending on what JavaScript Agent code snippet you want to use.
364
- * `allowanycert` - Allows the plugin to ignore certificate issues when retrieving the JavaScript Agent.
377
+ Basically all needed properties for RUM JavaScript are predefined by the downloadable `dynatrace.config.js`. There are four available properties:
378
+ * `url` - Dynatrace API url to retrieve the RUM JavaScript script tag.
379
+ * `mode` - Values can be numbers 0-4 depending on what RUM JavaScript code snippet you want to use.
380
+ * `allowanycert` - Allows the plugin to ignore certificate issues when retrieving RUM JavaScript.
365
381
  * `htmlFiles` - A string array which allows you to specify .html files to be instrumented. **Note**: The `htmlFiles` property should only be used if you have html files that are not automatically instrumented by the plugin.
366
382
 
367
383
 
368
- ### JavaScript Agent Snippet Mode
384
+ ### RUM JavaScript Snippet Mode
369
385
 
370
- Using a specific mode can allow you during build to insert any of the available JavaScript agent code snippet options that are offered.
386
+ Using a specific mode can allow you during build to insert any of the available RUM JavaScript code snippet options that are offered.
371
387
  [Click here](https://www.dynatrace.com/support/help/shortlink/rum-injection#manual-insertion) for more details on the options listed below:
372
388
  * 0 - `jsInlineScript`
373
389
  * 1 - `jsTagComplete` (Default)
@@ -385,7 +401,7 @@ module.exports = {
385
401
  ```
386
402
 
387
403
 
388
- The above example will use mode option 2 and retrieve the synchronous code snippet of the JavaScript agent.
404
+ The above example will use mode option 2 and retrieve the synchronous code snippet of RUM JavaScript.
389
405
 
390
406
  **Note:**
391
407
  The default url value will be used if mode is not included in the `dynatrace.config.js` file or if mode exists and the value is not valid (i.e. not a number 0 through 4).
@@ -415,13 +431,13 @@ Be aware that relative paths will always be used based on the assets folder. Cor
415
431
 
416
432
  ### Allow any certificate
417
433
 
418
- If you are having an issue retrieving the JavaScript Agent and see an error message relating to a certificate:
434
+ If you are having an issue retrieving RUM JavaScript and see an error message relating to a certificate:
419
435
 
420
436
  ```
421
437
  Could not retrieve the JavaScript Agent! - Could not retrieve agent optionsError: unable to verify the first certificate
422
438
  ```
423
439
 
424
- You are able to bypass those errors at your **OWN RISK** by using `allowanycert: true` within the `js` property. This will ignore the fact that the SSL connection is not secure (e.g. because of an invalid certificate) and will retrieve the JavaScript Agent snippet anyways. An example would look like this:
440
+ You are able to bypass those errors at your **OWN RISK** by using `allowanycert: true` within the `js` property. This will ignore the fact that the SSL connection is not secure (e.g. because of an invalid certificate) and will retrieve RUM JavaScript snippet anyways. An example would look like this:
425
441
 
426
442
  ```js
427
443
  module.exports = {
@@ -434,7 +450,7 @@ module.exports = {
434
450
 
435
451
  ## Manual instrumentation
436
452
 
437
- The JavaScript Agent interface will be provided by the JavaScript Agent, it can be used everywhere in your application by simply calling `dtrum`.
453
+ The RUM JavaScript interface will be provided by RUM JavaScript, it can be used everywhere in your application by simply calling `dtrum`.
438
454
 
439
455
  This gives you the possibility to instrument your code even further by adding manual instrumentation. If you like to know more about the manual instrumentation, have a look into the Dynatrace [documentation](#official-documentation).
440
456
 
@@ -478,9 +494,9 @@ The above functionalities are only a small part of how you can use the API. If y
478
494
 
479
495
  [![N|Solid](https://dt-cdn.net/images/settings-1103-17bfa1ae2f.png)]()
480
496
 
481
- ### Typings file for JavaScript Agent API
497
+ ### Typings file for RUM JavaScript API
482
498
 
483
- If you are using typescript and want to use the manual instrumentation of the JSAgent you should install the typings. The typings are available under the package name `@dynatrace/dtrum-api-types`. External typings have the advantage that you can apply the version that is actually needed.
499
+ If you are using typescript and want to use the manual instrumentation of RUM JavaScript you should install the typings. The typings are available under the package name `@dynatrace/dtrum-api-types`. External typings have the advantage that you can apply the version that is actually needed.
484
500
 
485
501
  After installing the typings, they can be used by inserting the following line at the top of the file:
486
502
 
@@ -508,13 +524,13 @@ let dtrum = window.dtrum;
508
524
  dtrum.enterAction(...);
509
525
  ```
510
526
 
511
- ## Manual instrumentation - Mobile Agent
527
+ ## Manual instrumentation - OneAgent for Mobile
512
528
 
513
- The Mobile Agent interface will be provided by the Mobile Agent, so it can be used everywhere in your application by simply calling `dynatraceMobile`.
529
+ The OneAgent for Mobile interface will be provided by OneAgent for Mobile, so it can be used everywhere in your application by simply calling `dynatraceMobile`.
514
530
 
515
531
  ### End session
516
532
 
517
- In a hybrid scenario it is only possible for the mobile agent to end a session/visit. That's why we expose the endVisit function of the Mobile Agent.
533
+ In a hybrid scenario it is only possible for OneAgent for Mobile to end a session/visit. That's why we expose the endVisit function of OneAgent for Mobile.
518
534
 
519
535
  The interface is available with the name `dynatraceMobile` (TypeScript definitions included). Calling `dynatraceMobile.endVisit(successCallback, errorCallback)` will end the session/visit. Example how this call looks like:
520
536
 
@@ -579,9 +595,9 @@ const enum DataCollectionLevel {
579
595
  }
580
596
  ```
581
597
 
582
- 1. Off: Native Agent doesn't capture any monitoring data.
583
- 2. Performance: Native Agent captures only anonymous performance data. Monitoring data that can be used to identify individual users, such as user tags and custom values, aren't captured.
584
- 3. UserBehavior: Native Agent captures both performance and user data. In this mode, Native Agent recognizes and reports users who re-visit in future sessions.
598
+ 1. Off: OneAgent for Mobile doesn't capture any monitoring data.
599
+ 2. Performance: OneAgent for Mobile captures only anonymous performance data. Monitoring data that can be used to identify individual users, such as user tags and custom values, aren't captured.
600
+ 3. UserBehavior: OneAgent for Mobile captures both performance and user data. In this mode, OneAgent for Mobile recognizes and reports users who re-visit in future sessions.
585
601
 
586
602
  Here are some examples of how to use the API:
587
603
 
@@ -610,9 +626,9 @@ dynatraceMobile.applyUserPrivacyOptions(DataCollectionLevel.UserBehavior, true,
610
626
  });
611
627
  ```
612
628
 
613
- ### Typings file for Mobile Agent API
629
+ ### Typings file for OneAgent for Mobile API
614
630
 
615
- To use the interface of the Mobile Agent directly you must specify the typing definition file in the *tsconfig.json*. Add the following block to the *tsconfig.json*:
631
+ To use the interface of OneAgent for Mobile directly you must specify the typing definition file in the *tsconfig.json*. Add the following block to the *tsconfig.json*:
616
632
 
617
633
  ```
618
634
  "files": [
@@ -699,7 +715,7 @@ if(!dynatraceMobile.getMobileFirstNetworkInterceptor().isInterceptorEnabled()){
699
715
 
700
716
  ## Ionic WebView for Cordova
701
717
 
702
- The Mobile agent usually sets cookies on the correct domain but the [cordova-plugin-ionic-webview](https://github.com/ionic-team/cordova-plugin-ionic-webview) uses different domains. Those domains need to be added in the configuration. If you defined a custom [hostname](https://github.com/ionic-team/cordova-plugin-ionic-webview#hostname) you need to take this into account as well for choosing the correct domain. A sample configuration which takes care about the default domain for cordova-plugin-ionic-webview looks like the following:
718
+ OneAgent for Mobile usually sets cookies on the correct domain but the [cordova-plugin-ionic-webview](https://github.com/ionic-team/cordova-plugin-ionic-webview) uses different domains. Those domains need to be added in the configuration. If you defined a custom [hostname](https://github.com/ionic-team/cordova-plugin-ionic-webview#hostname) you need to take this into account as well for choosing the correct domain. A sample configuration which takes care about the default domain for cordova-plugin-ionic-webview looks like the following:
703
719
 
704
720
  ```js
705
721
  module.exports = {
@@ -748,10 +764,10 @@ This will download the version `1.191.1` of our plugin. In general we recommend
748
764
 
749
765
  Our script assumes that the usual cordova project structure is given. The following arguments can be specified for our instrumentation script if the project structure is different.
750
766
 
751
- * `--gradle=C:\MyCordovaAndroidProject\platforms\android\build.gradle` - the location of the root build.gradle file. We will assume that the other gradle file resides in `/app/build.gradle`. This will add all agent dependencies automatically for you and will update the configuration.
752
- * `--plist=C:\MyCordovaIOSProject\platforms\ios\projectName\projectName-Info.plist` - Tell the script where your Info.plist file is. The plist file is used for updating the configuration for the agent.
767
+ * `--gradle=C:\MyCordovaAndroidProject\platforms\android\build.gradle` - the location of the root build.gradle file. We will assume that the other gradle file resides in `/app/build.gradle`. This will add all OneAgent dependencies automatically for you and will update the configuration.
768
+ * `--plist=C:\MyCordovaIOSProject\platforms\ios\projectName\projectName-Info.plist` - Tell the script where your Info.plist file is. The plist file is used for updating the configuration for OneAgent.
753
769
  * `--config=C:\SpecialFolderForDynatrace\dynatrace.config.js` - Used for if you have not added your config file in the root folder of the Cordova project but somewhere else.
754
- * `--jsagent=C:\MyCordovaProject\scripts\jsSnippet.txt` - If you want to use a local script/text file that includes the JS Agent snippet downloaded from the WebUI or retrieved from using the Dynatrace API. Note that you can name the file whatever you want but the file and directory that you use needs to exist. The file downloaded from the WebUI will be named `jsSnippet.txt` by default.
770
+ * `--jsagent=C:\MyCordovaProject\scripts\jsSnippet.txt` - If you want to use a local script/text file that includes the RUM JavaScript snippet downloaded from the WebUI or retrieved from using the Dynatrace API. Note that you can name the file whatever you want but the file and directory that you use needs to exist. The file downloaded from the WebUI will be named `jsSnippet.txt` by default.
755
771
 
756
772
  Example:
757
773
 
@@ -776,7 +792,7 @@ If you use Capacitor make sure to directly modify the sync command in `package.j
776
792
  When reinstalling our plugin, your custom command will be replaced with our default command unless the [opt out](#opt-out) feature is used. Be sure to [opt out](#opt-out) when using a custom command. If you are using a relative path like in the example above, the path will be appended by process.cwd(), which is the current working directory while executing the capacitor sync.
777
793
 
778
794
  **Additional Note:**
779
- For the local script file, we copy the specified file 1:1. It is best to download the JS agent snippet from the WebUI after selecting the desired JS agent format and clicking the **Download** link below the shown code snippet. To get to this page, go to your **Web Application** settings and then select **Setup**. The contents of the file will be copied 1:1 inside of the `<head>` tag of your Cordova applications platform based html files.
795
+ For the local script file, we copy the specified file 1:1. It is best to download the RUM JavaScript snippet from the WebUI after selecting the desired RUM JavaScript format and clicking the **Download** link below the shown code snippet. To get to this page, go to your **Web Application** settings and then select **Setup**. The contents of the file will be copied 1:1 inside of the `<head>` tag of your Cordova applications platform based html files.
780
796
 
781
797
  [![N|Solid](https://dt-cdn.net/images/downloadjsagent-931-db2b060f72.png)]()
782
798
 
@@ -824,7 +840,7 @@ process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] = 'https\\://services.gra
824
840
 
825
841
  ## MavenCentral in top level gradle file
826
842
 
827
- Because the Dynatrace Android agent now requires the MavenCentral repository, if either `jcenter()` or `mavenCentral()` is not added inside of **ALL** the repositories blocks via the [top-level build.gradle](https://dt-url.net/jm610pso), the build will fail.
843
+ Because the Dynatrace Android OneAgent now requires the MavenCentral repository, if either `jcenter()` or `mavenCentral()` is not added inside of **ALL** the repositories blocks via the [top-level build.gradle](https://dt-url.net/jm610pso), the build will fail.
828
844
  Below is an example of what a basic [top-level build.gradle](https://dt-url.net/jm610pso) file should look like after adding `mavenCentral()` to all repository blocks:
829
845
 
830
846
  ![mavenCentral](https://dt-cdn.net/images/mavencentral-572-5b31f6f446.png)
@@ -840,7 +856,7 @@ JCenter has noted its [sunset](https://jfrog.com/blog/into-the-sunset-bintray-jc
840
856
 
841
857
  ## Native OneAgent debug logs
842
858
 
843
- If your application starts but you see no data (or the session is not merged), you probably need to dig deeper to find out why the OneAgents aren't sending any data. Opening up a support ticket is a great idea, but gathering logs first is even better. Please attach the mobile agent logs and the [doctor dynatrace](#doctor-dynatrace) logs when opening a support ticket.
859
+ If your application starts but you see no data (or the session is not merged), you probably need to dig deeper to find out why the OneAgents aren't sending any data. Opening up a support ticket is a great idea, but gathering logs first is even better. Please attach the OneAgent for Mobile logs and the [doctor dynatrace](#doctor-dynatrace) logs when opening a support ticket.
844
860
 
845
861
  ### Android
846
862
 
@@ -878,7 +894,7 @@ ios: {
878
894
 
879
895
  ## Compose Compatibility Note
880
896
 
881
- Our Android Agent currently supports **Jetpack Compose 1.4 - 1.10**. If you are using an incompatible version of Jetpack Compose, you may encounter the following error message during build:
897
+ Our Android OneAgent currently supports **Jetpack Compose 1.4 - 1.10**. If you are using an incompatible version of Jetpack Compose, you may encounter the following error message during build:
882
898
 
883
899
  ```
884
900
  Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
@@ -888,7 +904,7 @@ Please use the latest version of the Dynatrace Android Gradle plugin.
888
904
 
889
905
  If you encounter compatibility issues or want to disable Jetpack Compose instrumentation, you can configure this in your `dynatrace.config.js` file. **Note: Disabling Jetpack Compose instrumentation will skip the compatibility check, allowing you to build with any version of Jetpack Compose without triggering version validation errors.**
890
906
 
891
- **Important**: The configuration example below shows **only the Compose-specific setting**. You must ensure that your complete `dynatrace.config.js` file includes all other required configuration settings (such as `beaconUrl`, `applicationId`, etc.) as described in the [Android block](#mobile-agent-configuration) section of this documentation.
907
+ **Important**: The configuration example below shows **only the Compose-specific setting**. You must ensure that your complete `dynatrace.config.js` file includes all other required configuration settings (such as `beaconUrl`, `applicationId`, etc.) as described in the [Android block](#oneagent-for-mobile-configuration) section of this documentation.
892
908
 
893
909
  ```js
894
910
  module.exports = {
@@ -913,8 +929,8 @@ For more information about Jetpack Compose instrumentation and monitoring capabi
913
929
 
914
930
  ## Official documentation
915
931
 
916
- * Android Agent: https://www.dynatrace.com/support/help/technology-support/operating-systems/android/
917
- * iOS Agent: https://www.dynatrace.com/support/help/technology-support/operating-systems/ios/
932
+ * Android OneAgent: https://www.dynatrace.com/support/help/technology-support/operating-systems/android/
933
+ * iOS OneAgent: https://www.dynatrace.com/support/help/technology-support/operating-systems/ios/
918
934
 
919
935
  ## Doctor Dynatrace
920
936
 
@@ -925,7 +941,7 @@ To run this tool, open terminal in the root directory of your project and run th
925
941
  The results will be generated in the terminal window as well as stored in log folder located in the following directory:
926
942
  * `C:\CurrentProject\node_modules\@dynatrace\cordova-plugin\logs\currentDoctorDynatrace.txt`
927
943
 
928
- The log file will also include a list of your `package.json` *dependencies* and *devDependencies* which will be helpful when investigating possible issues that arise. Please add this doctor dynatrace log and [mobile agent debug logs](#native-oneagent-debug-logs) when opening a support ticket.
944
+ The log file will also include a list of your `package.json` *dependencies* and *devDependencies* which will be helpful when investigating possible issues that arise. Please add this doctor dynatrace log and [OneAgent for Mobile debug logs](#native-oneagent-debug-logs) when opening a support ticket.
929
945
 
930
946
  ## Instrumentation Overhead
931
947
 
@@ -946,28 +962,28 @@ The Dynatrace Android Gradle plugin is hosted on [Maven Central](https://search.
946
962
 
947
963
  Basically if you have problems with the plugin please have a look into the logs. They will tell you what went wrong. The logs can be found in the plugins folder of your Cordova project. There is a directory called "Logs".
948
964
 
949
- * If you see a message like "Error: Could not retrieve the JSAgent! Error: self signed certificate in certificate chain" try to switch the JavaScript Agent configuration from HTTPS to HTTP.
950
- * If you use live reload (e.g. ionic cordova run android -l) be aware that Ionic/Cordova doesn't use files from the platform folder, so the JavaScript Agent injection will not take place, as we only instrument the temporary platform folder. You are still able to add the copied JS Agent code snippet from the WebUI manually to your index.html (in the source directory). To get to this page, go to your **Web Application** settings and then select **Setup**. Auto-Instrumentation with the Mobile Agent still takes place.
951
- * If you have problems retrieving the JavaScript Agent and you get error messages that the JavaScript Agent can not be retrieved, you probably don't have access to the API or there is a certificate issue. If this is the certificate use the [allow any certificate](#allow-any-certificate) feature. In any other case a workaround is possible to use the cli and add the `--jsagent=` custom parameter and download the full Javascript Agent and add the path to the downloaded JS Agent file to the custom parameter value - With this the plugin will not retrieve the JS agent and will use the one that is specified.
965
+ * If you see a message like "Error: Could not retrieve the JSAgent! Error: self signed certificate in certificate chain" try to switch the RUM JavaScript configuration from HTTPS to HTTP.
966
+ * If you use live reload (e.g. ionic cordova run android -l) be aware that Ionic/Cordova doesn't use files from the platform folder, so the RUM JavaScript injection will not take place, as we only instrument the temporary platform folder. You are still able to add the copied RUM JavaScript code snippet from the WebUI manually to your index.html (in the source directory). To get to this page, go to your **Web Application** settings and then select **Setup**. Auto-Instrumentation with OneAgent for Mobile still takes place.
967
+ * If you have problems retrieving RUM JavaScript and you get error messages that RUM JavaScript can not be retrieved, you probably don't have access to the API or there is a certificate issue. If this is the certificate use the [allow any certificate](#allow-any-certificate) feature. In any other case a workaround is possible to use the cli and add the `--jsagent=` custom parameter and download the full RUM JavaScript and add the path to the downloaded RUM JavaScript file to the custom parameter value - With this the plugin will not retrieve RUM JavaScript and will use the one that is specified.
952
968
  * If you are not seeing data when using Capacitor 3+, please make sure you follow the steps in the [Capacitor Instrumentation](#capacitor-instrumentation) section (more specifically step 4 for the proper commands). Please read the note at the bottom of that section for more information.
953
969
  * For Android, if you see an error like "Gradle sync failed: Could not find com.dynatrace.tools.android:gradle-plugin:8.221.1.1005.", please see the [MavenCentral](#mavencentral-in-top-level-gradle-file) section for an example and more information.
954
- * If you see a message like "Error: Could not retrieve JS Agent optionsForbidden", this means that the internal axios library is too old for processing the request correctly. The solution is to update the Cordova Plugin version, which internally uses a newer axios version to retrieve the JavaScript agent.
970
+ * If you see a message like "Error: Could not retrieve JS Agent optionsForbidden", this means that the internal axios library is too old for processing the request correctly. The solution is to update the Cordova Plugin version, which internally uses a newer axios version to retrieve RUM JavaScript.
955
971
 
956
972
 
957
973
  ### iOS Session Correlation Issues
958
974
 
959
975
  iOS apps using ionic/capacitor have issues with passing cookies from the native layer to WkWebView layer. This issue is due to ionic and capacitor using their own default custom schemes (i.e. *ionic://* or *capacitor://*) and the strict policy of Apple's WebKit not allowing cookies to be set in WkWebView with these custom schemes.
960
976
 
961
- To resolve this issue and allow the Mobile and Web sessions to correlate properly, we inject the session information into local storage so that the JavaScript agent can use this info for the Web session it creates.
977
+ To resolve this issue and allow the Mobile and Web sessions to correlate properly, we inject the session information into local storage so that RUM JavaScript can use this info for the Web session it creates.
962
978
 
963
979
  **Requirements**
964
- * iOS agent version 8.219.1.1004+ (already included in our plugin)
965
- * JavaScript agent version 1.219+
980
+ * iOS OneAgent version 8.219.1.1004+ (already included in our plugin)
981
+ * RUM JavaScript version 1.219+
966
982
  * Any version lower will not check local storage and correlation of the mobile and web sessions will not occur.
967
983
 
968
984
  ### Using Apple Pay with WebKit/WKWebView
969
985
 
970
- When using Apple Pay with WKWebView, there are specific checks that WebKit (Apple) uses when loading the Apple Pay SDK. The Apple Pay SDK does not work when using script injection APIs which is what our iOS agent uses to properly communicate with the JS agent and to correlate the Mobile and Web User Sessions.
986
+ When using Apple Pay with WKWebView, there are specific checks that WebKit (Apple) uses when loading the Apple Pay SDK. The Apple Pay SDK does not work when using script injection APIs which is what the iOS OneAgent uses to properly communicate with RUM JavaScript and to correlate the Mobile and Web User Sessions.
971
987
 
972
988
  **Solution:** Set the `DTXHybridApplicationMode` flag to `useragent` that will allow our plugin to work properly with Apple Pay. For more information, see [iOS only configuration.](#ios-only-configuration)
973
989
 
@@ -975,96 +991,102 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
975
991
 
976
992
  ## Changelog
977
993
 
994
+ 2.337.1
995
+ * Updated Android (8.337.2.1010) & iOS OneAgent (8.337.1.1003)
996
+
997
+ 2.335.1
998
+ * Updated Android (8.335.1.1001) & iOS OneAgent (8.335.1.1009)
999
+
978
1000
  2.333.1
979
- * Updated Android (8.333.1.1006) & iOS Agent (8.333.1.1005)
1001
+ * Updated Android (8.333.1.1006) & iOS OneAgent (8.333.1.1005)
980
1002
  * Dropped support for Capacitor 5 and lower as they are no longer supported [per Capacitor Support Status](https://capacitorjs.com/docs/main/reference/support-policy#capacitor-maintenance-and-support-status)
981
1003
 
982
1004
  2.331.1
983
- * Updated Android (8.331.1.1004) & iOS Agent (8.331.1.1008)
1005
+ * Updated Android (8.331.1.1004) & iOS OneAgent (8.331.1.1008)
984
1006
  * Added Swift Package Manager (SPM) support for Capacitor iOS projects
985
1007
  * Added [Compose Compatibility Note](#compose-compatibility-note)
986
1008
 
987
1009
  2.329.1
988
- * Updated Android (8.329.1.1014) & iOS Agent (8.329.1.1017)
1010
+ * Updated Android (8.329.1.1014) & iOS OneAgent (8.329.1.1017)
989
1011
  * Updated logic for dynatraceMobile API for iOS to use messageHandler if there is no script injection in WKWebView (see [iOS only configuration](#ios-only-configuration))
990
1012
 
991
1013
  2.327.1
992
- * Updated Android (8.327.2.1004) & iOS Agent (8.327.1.1020)
1014
+ * Updated Android (8.327.2.1004) & iOS OneAgent (8.327.1.1020)
993
1015
 
994
1016
  2.325.1
995
- * Updated Android (8.325.1.1007) & iOS Agent (8.325.1.1012)
1017
+ * Updated Android (8.325.1.1007) & iOS OneAgent (8.325.1.1012)
996
1018
 
997
1019
  2.323.1
998
1020
  * Deprecation of Node 18
999
- * Updated Android (8.323.2.1002) & iOS Agent (8.323.1.1009)
1021
+ * Updated Android (8.323.2.1002) & iOS OneAgent (8.323.1.1009)
1000
1022
 
1001
1023
  2.321.1
1002
- * Updated Android (8.321.2.1009) & iOS Agent (8.321.1.1007)
1024
+ * Updated Android (8.321.2.1009) & iOS OneAgent (8.321.1.1007)
1003
1025
 
1004
1026
  2.319.1
1005
- * Updated Android (8.319.2.1011) & iOS Agent (8.319.1.1005)
1027
+ * Updated Android (8.319.2.1011) & iOS OneAgent (8.319.1.1005)
1006
1028
 
1007
1029
  2.317.1
1008
- * Updated Android (8.317.1.1007) & iOS Agent (8.317.1.1003)
1030
+ * Updated Android (8.317.1.1007) & iOS OneAgent (8.317.1.1003)
1009
1031
 
1010
1032
  2.315.1
1011
- * Updated Android (8.315.1.1005) & iOS Agent (8.315.1.1002)
1033
+ * Updated Android (8.315.1.1005) & iOS OneAgent (8.315.1.1002)
1012
1034
 
1013
1035
  2.313.1
1014
1036
  * Native web requests utils no longer set and need x-dynatrace header
1015
- * Updated Android (8.313.1.1004) & iOS Agent (8.313.1.1016)
1037
+ * Updated Android (8.313.1.1004) & iOS OneAgent (8.313.1.1016)
1016
1038
 
1017
1039
  2.311.1
1018
- * Updated Android (8.311.1.1007) & iOS Agent (8.311.1.1013)
1040
+ * Updated Android (8.311.1.1007) & iOS OneAgent (8.311.1.1013)
1019
1041
 
1020
1042
  2.309.1
1021
- * Updated Android (8.309.2.1011) & iOS Agent (8.309.1.1009)
1043
+ * Updated Android (8.309.2.1011) & iOS OneAgent (8.309.1.1009)
1022
1044
 
1023
1045
  2.307.1
1024
- * Updated Android (8.307.1.1005) & iOS Agent (8.307.1.1014)
1046
+ * Updated Android (8.307.1.1005) & iOS OneAgent (8.307.1.1014)
1025
1047
  * Deprecation of Node 16
1026
1048
 
1027
1049
  2.305.1
1028
- * Updated Android (8.305.1.1005) & iOS Agent (8.305.3.1016)
1050
+ * Updated Android (8.305.1.1005) & iOS OneAgent (8.305.3.1016)
1029
1051
 
1030
1052
  2.303.1
1031
- * Updated Android (8.303.2.1014) & iOS Agent (8.303.1.1004)
1053
+ * Updated Android (8.303.2.1014) & iOS OneAgent (8.303.1.1004)
1032
1054
  * Android Gradle Plugin version requirement raised to 7.0+
1033
1055
  * Gradle version requirement raised to 7.0+
1034
1056
 
1035
1057
  2.301.1
1036
- * Updated Android (8.301.1.1004) & iOS Agent (8.301.1.1008)
1058
+ * Updated Android (8.301.1.1004) & iOS OneAgent (8.301.1.1008)
1037
1059
 
1038
1060
  2.299.1
1039
- * Updated Android (8.299.1.1004) & iOS Agent (8.299.1.1003)
1061
+ * Updated Android (8.299.1.1004) & iOS OneAgent (8.299.1.1003)
1040
1062
 
1041
1063
  2.297.1
1042
- * Updated Android (8.297.1.1003) & iOS Agent (8.297.1.1004)
1064
+ * Updated Android (8.297.1.1003) & iOS OneAgent (8.297.1.1004)
1043
1065
  * Added [Instrumentation Overhead](#instrumentation-overhead) section
1044
1066
  * Added [Capacitor Cookie Proxy](#capacitor-cookie-proxy) option for when `CapacitorCookies` is needed
1045
1067
 
1046
1068
  2.295.1
1047
- * Updated Android (8.295.1.1006) & iOS Agent (8.295.1.1020)
1048
- * Using cookie postfix of JavaScript agent when enabled
1049
- * Updated [HTML Instrumentation Requirements](#html-instrumentation-requirements) for when injecting the JS agent into html
1069
+ * Updated Android (8.295.1.1006) & iOS OneAgent (8.295.1.1020)
1070
+ * Using cookie postfix of RUM JavaScript when enabled
1071
+ * Updated [HTML Instrumentation Requirements](#html-instrumentation-requirements) for when injecting RUM JavaScript into html
1050
1072
 
1051
1073
  2.293.1
1052
- * Updated Android (8.293.1.1003) & iOS Agent (8.293.1.1003)
1074
+ * Updated Android (8.293.1.1003) & iOS OneAgent (8.293.1.1003)
1053
1075
 
1054
1076
  2.291.1
1055
- * Updated Android (8.291.1.1002) & iOS Agent (8.291.1.1004)
1077
+ * Updated Android (8.291.1.1002) & iOS OneAgent (8.291.1.1004)
1056
1078
 
1057
1079
  2.289.1
1058
- * Updated Android (8.289.2.1007) & iOS Agent (8.289.1.1015)
1080
+ * Updated Android (8.289.2.1007) & iOS OneAgent (8.289.1.1015)
1059
1081
 
1060
1082
  2.287.1
1061
- * Updated Android (8.287.1.1006) & iOS Agent (8.287.2.1009)
1083
+ * Updated Android (8.287.1.1006) & iOS OneAgent (8.287.2.1009)
1062
1084
 
1063
1085
  2.285.1
1064
- * Updated Android (8.285.1.1006) & iOS Agent (8.285.1.1004)
1086
+ * Updated Android (8.285.1.1006) & iOS OneAgent (8.285.1.1004)
1065
1087
 
1066
1088
  2.283.1
1067
- * Updated Android (8.283.1.1004) & iOS Agent (8.283.1.1004)
1089
+ * Updated Android (8.283.1.1004) & iOS OneAgent (8.283.1.1004)
1068
1090
  * Minimum iOS Version was raised to iOS 12
1069
1091
 
1070
1092
  2.279.2
@@ -1073,15 +1095,15 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
1073
1095
  * Fixed x-dtc issue for native web requests
1074
1096
  * Changed default injection mode from SyncCS to JsTagComplete
1075
1097
  * Fixed issue with path for npx and capacitor
1076
- * Updated Android (8.279.1.1002) & iOS Agent (8.279.2.1010)
1098
+ * Updated Android (8.279.1.1002) & iOS OneAgent (8.279.2.1010)
1077
1099
 
1078
1100
  2.277.1
1079
1101
  * Updated requirements for Cordova 10+
1080
1102
  * Changed plugin id to @dynatrace/cordova-plugin and removed old workarounds used for plugin migration
1081
- * Updated Android (8.277.1.1003) & iOS Agent (8.277.1.1004)
1103
+ * Updated Android (8.277.1.1003) & iOS OneAgent (8.277.1.1004)
1082
1104
 
1083
1105
  1.275.1
1084
- * Updated iOS Agent (8.275.1.1006)
1106
+ * Updated iOS OneAgent (8.275.1.1006)
1085
1107
  * Added an [opt-out](#opt-out) feature for modifying package.json
1086
1108
  * Fixed PageContext cookie for native web request tracking
1087
1109
  * Updated logic to create x-dtc header for native web requests
@@ -1089,61 +1111,61 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
1089
1111
 
1090
1112
  1.273.2
1091
1113
  * Removed package.json modification for doctorDynatrace
1092
- * Updated Android (8.273.1.1003) & iOS Agent (8.273.1.1006)
1114
+ * Updated Android (8.273.1.1003) & iOS OneAgent (8.273.1.1006)
1093
1115
 
1094
1116
  1.271.1
1095
- * Updated Android (8.271.1.1003) & iOS Agent (8.271.2.1007)
1117
+ * Updated Android (8.271.1.1003) & iOS OneAgent (8.271.2.1007)
1096
1118
 
1097
1119
  1.267.1
1098
- * Updated Android (8.267.1.1005) & iOS Agent (8.267.1.1006)
1120
+ * Updated Android (8.267.1.1005) & iOS OneAgent (8.267.1.1006)
1099
1121
 
1100
1122
  1.265.1
1101
- * Updated Android (8.265.1.1002) & iOS Agent (8.265.1.1003)
1123
+ * Updated Android (8.265.1.1002) & iOS OneAgent (8.265.1.1003)
1102
1124
  * Fixed installation issue with old plugin
1103
1125
 
1104
1126
  1.263.1
1105
- * Updated Android (8.263.1.1002) & iOS Agent (8.263.2.1005)
1127
+ * Updated Android (8.263.1.1002) & iOS OneAgent (8.263.2.1005)
1106
1128
 
1107
1129
  1.261.3
1108
- * Updated Android (8.261.2.1013) & iOS Agent (8.261.1.1006)
1130
+ * Updated Android (8.261.2.1013) & iOS OneAgent (8.261.1.1006)
1109
1131
  * Fixed file not found during doctor command
1110
1132
  * Minimum Java Version was raised to 11
1111
1133
  * Added [htmlFiles](#html-instrumentation-requirements) to dynatrace.config.js to customize instrumented html files
1112
1134
 
1113
1135
  1.259.2
1114
- * Updated Android (8.259.1.1008) & iOS Agent (8.259.1.1009)
1136
+ * Updated Android (8.259.1.1008) & iOS OneAgent (8.259.1.1009)
1115
1137
  * Hooks using now correct script names (case sensitive)
1116
1138
 
1117
1139
  1.257.1
1118
- * Updated Android (8.257.1.1007) & iOS Agent (8.257.1.1007)
1140
+ * Updated Android (8.257.1.1007) & iOS OneAgent (8.257.1.1007)
1119
1141
  * Node Support changed to latest LTS Version (14.x)
1120
1142
  * Minimum iOS Version has been raised to 11
1121
1143
 
1122
1144
  1.255.1
1123
1145
  * MFP Server URL added to [enableInterceptor API](#ibm-mobile-first)
1124
- * Updated Android (8.255.1.1005) & iOS Agent (8.255.1.1006)
1146
+ * Updated Android (8.255.1.1005) & iOS OneAgent (8.255.1.1006)
1125
1147
 
1126
1148
  1.253.5
1127
- * Updated Android (8.253.1.1003) & iOS Agent (8.253.1.1006)
1149
+ * Updated Android (8.253.1.1003) & iOS OneAgent (8.253.1.1006)
1128
1150
  * Fixed wrong declaration for dtrum & MFP API
1129
1151
  * Fixed broken export of axios library
1130
1152
 
1131
1153
  1.247.0
1132
1154
  * Added support for [Capacitor run command](#capacitor-instrumentation) for Capacitor versions 3.1+
1133
- * Added option to specify paths for [jsAgent](#js-agent-path), [gradlePath](#gradle-path) and [plistPath](#plist-path) in `dynatrace.config.js` file
1155
+ * Added option to specify paths for [jsAgent](#rum-javascript-path), [gradlePath](#gradle-path) and [plistPath](#plist-path) in `dynatrace.config.js` file
1134
1156
  * Improved capacitor check for specific platforms logic
1135
- * Updated Android (8.247.1.1003) & iOS Agent (8.247.1.1007)
1157
+ * Updated Android (8.247.1.1003) & iOS OneAgent (8.247.1.1007)
1136
1158
  * Minimum Android SDK has been raised to SDK 21 and above
1137
1159
 
1138
1160
  1.233.1
1139
1161
  * Fixed issue where old static lib was referenced
1140
1162
  * Improved capacitor check logic
1141
1163
  * Improved injection logic for html
1142
- * Updated Android (8.231.2.1007) & iOS Agent (8.233.1.1006)
1164
+ * Updated Android (8.231.2.1007) & iOS OneAgent (8.233.1.1006)
1143
1165
 
1144
1166
  1.229.0
1145
1167
  * Adding SessionStorage values to Native web request instrumentation
1146
- * Updated Android (8.229.1.1003) & iOS Agent (8.229.1.1004)
1168
+ * Updated Android (8.229.1.1003) & iOS OneAgent (8.229.1.1004)
1147
1169
 
1148
1170
  1.227.6
1149
1171
  * Added Cookie Proxy for Ionic & Capacitor
@@ -1151,7 +1173,7 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
1151
1173
  * Fixed wrong check for missing dtrum
1152
1174
  * Fixed incorrectly reading cspURL value
1153
1175
  * Fixed waiting for async hooks to complete
1154
- * Updated Android (8.227.1.1002) & iOS Agent (8.227.1.1019)
1176
+ * Updated Android (8.227.1.1002) & iOS OneAgent (8.227.1.1019)
1155
1177
 
1156
1178
  1.225.1
1157
1179
  * Fixed [doctor dynatrace](#doctor-dynatrace) plugin version check issue
@@ -1161,9 +1183,9 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
1161
1183
  * Removed check and adding of -ObjC linker for Capacitor apps
1162
1184
  * Added support for Capacitor 3
1163
1185
  * Enhanced user action creation/correlation for Native WR/MFP requests
1164
- * Updated Android (8.223.1.1003) & iOS Agent (8.223.1.1006)
1186
+ * Updated Android (8.223.1.1003) & iOS OneAgent (8.223.1.1006)
1165
1187
  * [IBM MFP Wrapper](#ibm-mobile-first) is now passing all arguments
1166
- * Removed JSAgent typings which are [available via NPM](#typings-file-for-mobile-agent-api)
1188
+ * Removed JSAgent typings which are [available via NPM](#typings-file-for-oneagent-for-mobile-api)
1167
1189
 
1168
1190
  1.219.1
1169
1191
  * Fixed issue with older Android versions
@@ -1177,25 +1199,25 @@ When using Apple Pay with WKWebView, there are specific checks that WebKit (Appl
1177
1199
  * Added [UserPrivacyOptions API](#user-privacy-options)
1178
1200
  * End session available via dtrum API
1179
1201
  * Added support for [ionic capacitor](#capacitor-instrumentation)
1180
- * Updated iOS (8.217.1.1003) and Android Agent (8.211.1.1010)
1202
+ * Updated iOS (8.217.1.1003) and Android OneAgent (8.211.1.1010)
1181
1203
 
1182
1204
  1.213.0
1183
- * Added new [custom parameter for cli](#custom-arguments-for-instrumentation-script) to allow use of local js agent script file
1184
- * Added [mode option](#javascript-agent-snippet-mode) in the config file for using specific JSAgent code snippet
1185
- * No longer store JS Agent file and only inject platform html
1186
- * Added dtrum API that will prevent errors if JS agent is not loaded
1187
- * Updated iOS (8.209.1.1003) and Android Agent (8.211.1.1010)
1205
+ * Added new [custom parameter for cli](#custom-arguments-for-instrumentation-script) to allow use of local RUM JavaScript script file
1206
+ * Added [mode option](#rum-javascript-snippet-mode) in the config file for using specific RUM JavaScript code snippet
1207
+ * No longer store RUM JavaScript file and only inject platform html
1208
+ * Added dtrum API that will prevent errors if RUM JavaScript is not loaded
1209
+ * Updated iOS (8.209.1.1003) and Android OneAgent (8.211.1.1010)
1188
1210
  * Skipping not readable files instead of throwing an exception
1189
1211
 
1190
1212
  1.205.0
1191
- * Updated iOS and Android agent
1213
+ * Updated iOS and Android OneAgent
1192
1214
 
1193
1215
  1.201.0
1194
- * Updated iOS and Android agent
1216
+ * Updated iOS and Android OneAgent
1195
1217
 
1196
1218
  1.192.0
1197
1219
  * Fix for Installation/Removing issues
1198
1220
 
1199
1221
  1.191.2
1200
1222
  * Android Instrumentation changed to Gradle
1201
- * New Mobile Agents (> 8.x)
1223
+ * New Mobile OneAgents (> 8.x)