@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
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
4
4
  #ifndef DYNATRACE_SWIFT_H
5
5
  #define DYNATRACE_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -65,6 +65,7 @@
65
65
  # if __has_include(<uchar.h>)
66
66
  # include <uchar.h>
67
67
  # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
68
69
  typedef uint_least16_t char16_t;
69
70
  typedef uint_least32_t char32_t;
70
71
  # endif
@@ -301,6 +302,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
301
302
  #endif
302
303
 
303
304
  #if defined(__OBJC__)
305
+
304
306
  #endif
305
307
  #if __has_attribute(external_source_symbol)
306
308
  # pragma clang attribute pop
@@ -311,7 +313,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
311
313
  #endif
312
314
 
313
315
  #elif defined(__x86_64__) && __x86_64__
314
- // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
316
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
315
317
  #ifndef DYNATRACE_SWIFT_H
316
318
  #define DYNATRACE_SWIFT_H
317
319
  #pragma clang diagnostic push
@@ -376,6 +378,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
376
378
  # if __has_include(<uchar.h>)
377
379
  # include <uchar.h>
378
380
  # elif !defined(__cplusplus)
381
+ typedef unsigned char char8_t;
379
382
  typedef uint_least16_t char16_t;
380
383
  typedef uint_least32_t char32_t;
381
384
  # endif
@@ -612,6 +615,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
612
615
  #endif
613
616
 
614
617
  #if defined(__OBJC__)
618
+
615
619
  #endif
616
620
  #if __has_attribute(external_source_symbol)
617
621
  # pragma clang attribute pop
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.333.1.1005
2
+ // Version: 8.337.1.1003
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target arm64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target arm64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import _Concurrency
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target arm64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target arm64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import _Concurrency
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target x86_64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target x86_64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import _Concurrency
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target x86_64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target x86_64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import _Concurrency
@@ -6,11 +6,11 @@
6
6
  <dict>
7
7
  <key>Headers/Dynatrace-Swift.h</key>
8
8
  <data>
9
- kvZmQQJ66tEhXXDeXBCNm9QPkY4=
9
+ JPTJnEGc1ujLzn/bS39s2ePHtqY=
10
10
  </data>
11
11
  <key>Headers/Dynatrace.h</key>
12
12
  <data>
13
- zdJ4gO+nNm1T0/bim/GsNi2fDX8=
13
+ Bl5Zvh+Dm4gKpW/tjrLvTI+dXDY=
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
- fA6JNTAVg2geIwB+VKZCN3WU0v8=
25
+ VQ/unvVjEqAMzisQ+HiKVqDLjkM=
26
26
  </data>
27
27
  <key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo</key>
28
28
  <data>
29
- f5Op38ZsKmxeuUpv7e027e0uUGo=
29
+ tnrdHsIfDagohWC2bDLrOmDGuEA=
30
30
  </data>
31
31
  <key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
32
32
  <data>
33
- ATieVZa8ArTdqfYq6weOeYvpx8U=
33
+ UYsmmxiOWQauEkwXXV+qKCP0BXk=
34
34
  </data>
35
35
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json</key>
36
36
  <data>
@@ -38,19 +38,19 @@
38
38
  </data>
39
39
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface</key>
40
40
  <data>
41
- qmBuSAo0inLR2X5Up9MwYhWIXxU=
41
+ iWW39j0zrY7kCNR1YH7dAzo3t+E=
42
42
  </data>
43
43
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftdoc</key>
44
44
  <data>
45
- oO1DS0cNmqM9FOqRVtbmiVcI3Bc=
45
+ TaK6FEb/VtglVhZ0uzznbICcqoQ=
46
46
  </data>
47
47
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface</key>
48
48
  <data>
49
- qmBuSAo0inLR2X5Up9MwYhWIXxU=
49
+ iWW39j0zrY7kCNR1YH7dAzo3t+E=
50
50
  </data>
51
51
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftmodule</key>
52
52
  <data>
53
- S1ggVEK+FosfXRShB0uq6Yb2MHI=
53
+ Lpzsbt7BeF6PnxcHjiGs3Ip/Zcc=
54
54
  </data>
55
55
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json</key>
56
56
  <data>
@@ -58,19 +58,19 @@
58
58
  </data>
59
59
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface</key>
60
60
  <data>
61
- TRWUsp26Fg0pk5dNvtMA5URbleU=
61
+ 30AmIfXsb1ENiRGE0SrhnWC2zrU=
62
62
  </data>
63
63
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc</key>
64
64
  <data>
65
- amymbDEjwKcE8Z6Z8SgpSQbtHnI=
65
+ 7bavbhFP7nlggkTRSJou+sQZL9M=
66
66
  </data>
67
67
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface</key>
68
68
  <data>
69
- TRWUsp26Fg0pk5dNvtMA5URbleU=
69
+ 30AmIfXsb1ENiRGE0SrhnWC2zrU=
70
70
  </data>
71
71
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule</key>
72
72
  <data>
73
- iIPrA8+0D8ceQCaobyNIBU9r7tk=
73
+ 18I67I1KEf+wba4ib5KIAu/zaeo=
74
74
  </data>
75
75
  <key>Modules/module.modulemap</key>
76
76
  <data>
@@ -87,14 +87,14 @@
87
87
  <dict>
88
88
  <key>hash2</key>
89
89
  <data>
90
- Onc05BGDApHwePlrer94iJ4q+xfQBxV0b/IXAkEokJ0=
90
+ 00MPik1nU/D3MIauZvu27bSIOL/9AMwZQj32bdUVd5A=
91
91
  </data>
92
92
  </dict>
93
93
  <key>Headers/Dynatrace.h</key>
94
94
  <dict>
95
95
  <key>hash2</key>
96
96
  <data>
97
- ckC4PqSJvRxA91V5E+lHPbCp8BCMxDjlFwkdgEm9WA8=
97
+ 6uWK2YzB9KLhoSROsifNtrchcFW9ycH7qWtg4v9B/7A=
98
98
  </data>
99
99
  </dict>
100
100
  <key>Headers/DynatraceSwiftUI.h</key>
@@ -115,14 +115,14 @@
115
115
  <dict>
116
116
  <key>hash2</key>
117
117
  <data>
118
- 4nrS4N0AlXlxGUj1w8SrBa6kVyfwD2PCa+Aq9UFNL70=
118
+ 73D2UeKHENvyOim53OFuUhYd5XCdEWgzLkq/2Y1RcdE=
119
119
  </data>
120
120
  </dict>
121
121
  <key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
122
122
  <dict>
123
123
  <key>hash2</key>
124
124
  <data>
125
- EEkSXg+mHxcbYHFlCIfFDxlt8SEYsyj3y9ieCQ3HTYM=
125
+ p5gq8ocWeoLt2iuywr2j5jYIqEfDp3P+5k9slikFEDY=
126
126
  </data>
127
127
  </dict>
128
128
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json</key>
@@ -136,28 +136,28 @@
136
136
  <dict>
137
137
  <key>hash2</key>
138
138
  <data>
139
- XsmepyMadcBoXTYLkzFFI/30b+NKxk9hidT1jmj4xkE=
139
+ ZHwazMDO2VrPBewQORdVEoqdhBSFLJwsp0ckjBhBfF4=
140
140
  </data>
141
141
  </dict>
142
142
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftdoc</key>
143
143
  <dict>
144
144
  <key>hash2</key>
145
145
  <data>
146
- 6XbJeCCXrnvkPpurQ8OcR3jXRUaUb933K9Mithu2Zlw=
146
+ jDsK6mD08z6dnABd3uZq5sleVSRQ7JkjbHUmeIkTq64=
147
147
  </data>
148
148
  </dict>
149
149
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface</key>
150
150
  <dict>
151
151
  <key>hash2</key>
152
152
  <data>
153
- XsmepyMadcBoXTYLkzFFI/30b+NKxk9hidT1jmj4xkE=
153
+ ZHwazMDO2VrPBewQORdVEoqdhBSFLJwsp0ckjBhBfF4=
154
154
  </data>
155
155
  </dict>
156
156
  <key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftmodule</key>
157
157
  <dict>
158
158
  <key>hash2</key>
159
159
  <data>
160
- Mxy7Wvu0LJ+KGmRFw5+svn6nF65NG8/JVlpb3Tda63U=
160
+ OeCoXkQgTpvGU0Sok5SWQ3sn4WBs7aWj6u9bqta8+Yg=
161
161
  </data>
162
162
  </dict>
163
163
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json</key>
@@ -171,28 +171,28 @@
171
171
  <dict>
172
172
  <key>hash2</key>
173
173
  <data>
174
- HI7++nli2/3WKZFNuUSFnDaukJFcz+ClhZpWJqFF7iw=
174
+ Ek4KlNj1XU7faUk5y6b/PWb+3a7mQW7bgqwPOmkiY2Q=
175
175
  </data>
176
176
  </dict>
177
177
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc</key>
178
178
  <dict>
179
179
  <key>hash2</key>
180
180
  <data>
181
- ECjYsXiapGZ5XiwuMX3zAknJ6/ndLV/ZHpg191geQSI=
181
+ iXZ0RYONs7MnnED3ggHu42sFMoolXa6/qYrZXUqcDRY=
182
182
  </data>
183
183
  </dict>
184
184
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface</key>
185
185
  <dict>
186
186
  <key>hash2</key>
187
187
  <data>
188
- HI7++nli2/3WKZFNuUSFnDaukJFcz+ClhZpWJqFF7iw=
188
+ Ek4KlNj1XU7faUk5y6b/PWb+3a7mQW7bgqwPOmkiY2Q=
189
189
  </data>
190
190
  </dict>
191
191
  <key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule</key>
192
192
  <dict>
193
193
  <key>hash2</key>
194
194
  <data>
195
- LRodieQe0FU53kkSPlW4gVqkTzIv7IBukJqqlW+1SQo=
195
+ K3RwZnCkUB+m4UPV1GGEnrIycVIlqi00spjhrOzdKF4=
196
196
  </data>
197
197
  </dict>
198
198
  <key>Modules/module.modulemap</key>
@@ -1,3 +1,3 @@
1
1
  dependencies {
2
- classpath 'com.dynatrace.tools.android:gradle-plugin:8.333.1.1006'
2
+ classpath 'com.dynatrace.tools.android:gradle-plugin:8.337.2.1010'
3
3
  }
@@ -33,7 +33,7 @@ var getReferer = function (actionId) {
33
33
  };
34
34
  var patchPageContext = function (pcCookie, actionId) {
35
35
  if (pcCookie != null && pcCookie.length > 0) {
36
- var groups = pcCookie.match(/(.+)[h](.+)[v](.+)/);
36
+ var groups = pcCookie.match(/^([^h]+)h([^v]+)v(.+)$/);
37
37
  if (groups != null && groups.length === 4) {
38
38
  return "".concat(groups[1], "h").concat(actionId, "v").concat(groups[3]);
39
39
  }
@@ -46,7 +46,7 @@ var patchPageContext = function (pcCookie, actionId) {
46
46
  var getApplicationId = function () { return typeof dT_ !== 'undefined' && typeof dT_.scv !== 'undefined' ? dT_.scv('app') : ''; };
47
47
  var getSessionNumber = function (dtCookie) {
48
48
  if (dtCookie !== undefined) {
49
- var groups = dtCookie.match(/v_(.+)_srv_(.+)_sn_(.+?)[_](.+)/);
49
+ var groups = dtCookie.match(/^v_([^_]+)_srv_([^_]+)_sn_([^_]+)_(.+)$/);
50
50
  if (groups != null && groups.length === 5) {
51
51
  return "v_".concat(groups[1], "_srv_").concat(groups[2], "_sn_").concat(groups[3]);
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/cordova-plugin",
3
- "version": "2.333.1",
3
+ "version": "2.337.1",
4
4
  "description": "This plugin gives you the ability to use the Dynatrace instrumentation in your hybrid application (Cordova, Ionic, ..). It uses the Mobile Agent, 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 and will automatically detect them.",
5
5
  "cordova": {
6
6
  "id": "@dynatrace/cordova-plugin",
@@ -40,7 +40,7 @@
40
40
  "homepage": "https://www.dynatrace.com/",
41
41
  "license": "SEE LICENSE IN LICENSE.md",
42
42
  "dependencies": {
43
- "axios": "^1.13.6",
43
+ "axios": "^1.15.2",
44
44
  "jsdom": "^27.0.0",
45
45
  "plist": "^3.1.0"
46
46
  },
@@ -62,7 +62,7 @@
62
62
  "eslint-plugin-unicorn": "^41.0.1",
63
63
  "husky": "^9.1.7",
64
64
  "jest": "^29.2.2",
65
- "jest-junit": "^12.2.0",
65
+ "jest-junit": "^17.0.0",
66
66
  "mock-fs": "^5.5.0",
67
67
  "npm-check-updates": "^18.0.2",
68
68
  "prettier": "^2.6.1",
package/plugin.xml CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  id="@dynatrace/cordova-plugin"
5
- version="2.333.1">
5
+ version="2.337.1">
6
6
  <name>Dynatrace</name>
7
7
  <description>Dynatrace Cordova Plugin</description>
8
8
 
@@ -41,7 +41,7 @@
41
41
  <source-file src="other/DynatraceCordovaPlugin.m"/>
42
42
  </platform>
43
43
  <platform name="android">
44
- <framework src="com.dynatrace.agent:agent-android:8.333.1.1006" />
44
+ <framework src="com.dynatrace.agent:agent-android:8.337.2.1010" />
45
45
  <source-file src="other/DynatraceCordovaPlugin.java" target-dir="src/com/dynatrace/cordova/plugin" />
46
46
 
47
47
  <config-file target="config.xml" parent="/*">
@@ -67,7 +67,7 @@ var _searchFilePatternInDirectory = function (searchPath, foundFiles, pattern, f
67
67
  return [2, new Promise(function (resolve, reject) {
68
68
  (0, fs_1.readdir)(searchPath, function (err, files) {
69
69
  if (err) {
70
- reject('Directory could not be read: ' + (0, path_1.resolve)(searchPath));
70
+ reject(new Error('Directory could not be read: ' + (0, path_1.resolve)(searchPath)));
71
71
  return;
72
72
  }
73
73
  var promiseArr = [];
@@ -145,7 +145,7 @@ var readTextFromFile = function (_file) { return __awaiter(void 0, void 0, void
145
145
  return [2, new Promise(function (resolve, reject) {
146
146
  (0, fs_1.readFile)(_file, 'utf8', function (err, data) {
147
147
  if (err) {
148
- reject(err + 'Could not read the file: ' + (0, path_1.resolve)(_file));
148
+ reject(new Error(err.message + ' Could not read the file: ' + (0, path_1.resolve)(_file)));
149
149
  }
150
150
  resolve(data);
151
151
  });
@@ -158,7 +158,7 @@ var writeTextToFile = function (_file, _text) { return __awaiter(void 0, void 0,
158
158
  return [2, new Promise(function (resolve, reject) {
159
159
  (0, fs_1.writeFile)(_file, _text, function (err) {
160
160
  if (err) {
161
- reject(err + ' Could not write to file: ' + (0, path_1.resolve)(_file));
161
+ reject(new Error(err.message + ' Could not write to file: ' + (0, path_1.resolve)(_file)));
162
162
  }
163
163
  resolve(_file);
164
164
  });
@@ -238,7 +238,7 @@ exports.deleteDirectory = deleteDirectory;
238
238
  var deleteDirectorySync = function (dir) {
239
239
  (0, fs_1.accessSync)(dir);
240
240
  var files = (0, fs_1.readdirSync)(dir);
241
- files.map(function (file) { return (0, exports.deleteFileSync)((0, path_1.join)(dir, file)); });
241
+ files.forEach(function (file) { return (0, exports.deleteFileSync)((0, path_1.join)(dir, file)); });
242
242
  (0, fs_1.rmdirSync)(dir);
243
243
  };
244
244
  var deleteFile = function (filePath) { return __awaiter(void 0, void 0, void 0, function () {
@@ -216,7 +216,11 @@ var parsedCapPackageJson = function () { return __awaiter(void 0, void 0, void 0
216
216
  exports.parsedCapPackageJson = parsedCapPackageJson;
217
217
  var parsedNpmConfig = function () {
218
218
  try {
219
- return JSON.parse((0, child_process_1.execSync)('npm config list --json').toString());
219
+ var npmBin = process.platform === 'win32'
220
+ ? (0, path_1.join)((0, path_1.dirname)(process.execPath), 'npm.cmd')
221
+ : (0, path_1.join)((0, path_1.dirname)(process.execPath), 'npm');
222
+ var result = (0, child_process_1.spawnSync)(npmBin, ['config', 'list', '--json'], { encoding: 'utf8' });
223
+ return JSON.parse(result.stdout);
220
224
  }
221
225
  catch (e) {
222
226
  Logger_1.Logger.getInstance().logWarning('Error in parsedNpmConfig => \n' + e + '\nUnable to retrieve npm config list!');
@@ -57,12 +57,7 @@ var getConfigFilePath = function () { return (0, path_1.join)(getApplicationPath
57
57
  exports.getConfigFilePath = getConfigFilePath;
58
58
  var getAndroidAssetsPath = function () {
59
59
  if (isCapacitorApp()) {
60
- if ((0, fs_1.existsSync)((0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public'))) {
61
- return (0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public');
62
- }
63
- else {
64
- return (0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public');
65
- }
60
+ return getAndroidAssetsPathCapacitor();
66
61
  }
67
62
  else {
68
63
  if ((0, fs_1.existsSync)((0, path_1.join)(getAndroidPath(), exports.FOLDER_ASSETS, FOLDER_WWW))) {
@@ -120,14 +115,7 @@ var getIosPackageSwiftCapacitor = function () { return (0, path_1.join)(getIosSP
120
115
  exports.getIosPackageSwiftCapacitor = getIosPackageSwiftCapacitor;
121
116
  var getOriginalPackageSwiftCapacitor = function () { return (0, path_1.join)(getApplicationPath(), FOLDER_NODE_MODULES, '@dynatrace', 'cordova-plugin', FILE_PACKAGE_SWIFT_SPM); };
122
117
  exports.getOriginalPackageSwiftCapacitor = getOriginalPackageSwiftCapacitor;
123
- var getAndroidAssetsPathCapacitor = function () {
124
- if ((0, fs_1.existsSync)((0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public'))) {
125
- return (0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public');
126
- }
127
- else {
128
- return (0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public');
129
- }
130
- };
118
+ var getAndroidAssetsPathCapacitor = function () { return (0, path_1.join)(getAndroidPathCapacitor(), FOLDER_ANDROID_APP, 'src', 'main', exports.FOLDER_ASSETS, 'public'); };
131
119
  exports.getAndroidAssetsPathCapacitor = getAndroidAssetsPathCapacitor;
132
120
  var getIosAssetsPathCapacitor = function () {
133
121
  if ((0, fs_1.existsSync)((0, path_1.join)(getIosPathCapacitor(), 'public'))) {