@dynatrace/react-native-plugin 2.283.2 → 2.283.3

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 (74) hide show
  1. package/README.md +1 -1
  2. package/lib/instrumentor/base/ErrorHandler.js +2 -1
  3. package/package.json +2 -2
  4. package/react-native-dynatrace.podspec +3 -9
  5. package/ios/lib/Dynatrace.xcframework/Info.plist +0 -75
  6. package/ios/lib/Dynatrace.xcframework/_CodeSignature/CodeDirectory +0 -0
  7. package/ios/lib/Dynatrace.xcframework/_CodeSignature/CodeRequirements +0 -0
  8. package/ios/lib/Dynatrace.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  9. package/ios/lib/Dynatrace.xcframework/_CodeSignature/CodeResources +0 -1058
  10. package/ios/lib/Dynatrace.xcframework/_CodeSignature/CodeSignature +0 -0
  11. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
  12. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +0 -311
  13. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +0 -1031
  14. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/DynatraceSwiftUI.h +0 -37
  15. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Framework.h +0 -19
  16. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
  17. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  18. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.abi.json +0 -582
  19. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -42
  20. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  21. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +0 -42
  22. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/module.modulemap +0 -10
  23. package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/PrivacyInfo.xcprivacy +0 -100
  24. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  25. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +0 -618
  26. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +0 -1031
  27. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/DynatraceSwiftUI.h +0 -37
  28. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Framework.h +0 -19
  29. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  30. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  31. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  32. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -582
  33. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -42
  34. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  35. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -42
  36. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -582
  37. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -42
  38. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  39. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -42
  40. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/module.modulemap +0 -10
  41. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/PrivacyInfo.xcprivacy +0 -100
  42. package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +0 -300
  43. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
  44. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +0 -311
  45. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +0 -1031
  46. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/DynatraceSwiftUI.h +0 -37
  47. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Framework.h +0 -19
  48. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
  49. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
  50. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.abi.json +0 -9
  51. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.private.swiftinterface +0 -9
  52. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftdoc +0 -0
  53. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftinterface +0 -9
  54. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/module.modulemap +0 -11
  55. package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/PrivacyInfo.xcprivacy +0 -100
  56. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  57. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +0 -618
  58. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +0 -1031
  59. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/DynatraceSwiftUI.h +0 -37
  60. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Framework.h +0 -19
  61. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  62. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
  63. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
  64. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json +0 -9
  65. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface +0 -9
  66. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftdoc +0 -0
  67. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface +0 -9
  68. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json +0 -9
  69. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface +0 -9
  70. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc +0 -0
  71. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface +0 -9
  72. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/module.modulemap +0 -11
  73. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/PrivacyInfo.xcprivacy +0 -100
  74. package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +0 -300
package/README.md CHANGED
@@ -1277,7 +1277,7 @@ If you are struggling with a problem, submit a support ticket to Dynatrace (supp
1277
1277
  <br/><br/>
1278
1278
  ## Changelog
1279
1279
 
1280
- 2.283.2
1280
+ 2.283.3
1281
1281
  * Added Auto-Instrumentation for React Native Switch
1282
1282
  * Updated instrumentation of RefreshControl (dtActionIgnore & dtActionName)
1283
1283
  * Updated instrumentation of Picker (dtActionIgnore & dtActionName)
@@ -7,6 +7,7 @@ const DynatraceBridge_1 = require("./DynatraceBridge");
7
7
  const Dynatrace_1 = require("./Dynatrace");
8
8
  const StringUtils_1 = require("./util/StringUtils");
9
9
  const Logger_1 = require("./Logger");
10
+ const Platform_1 = require("./model/Platform");
10
11
  let _isCustomErrorHandlerSet = false;
11
12
  const _isReactNativeGlobal = (globalScope) => globalScope.ErrorUtils !== undefined;
12
13
  const registerErrorHandler = () => {
@@ -35,7 +36,7 @@ const _reportErrorToDynatrace = (exception, isFatal, oldHandler) => {
35
36
  }
36
37
  if (exception.stack != null) {
37
38
  if (ReactNative.Platform.OS === 'ios') {
38
- DynatraceBridge_1.DynatraceNative.storeCrash(String(exception.name), adjustedReason(exception.message), exception.stack);
39
+ DynatraceBridge_1.DynatraceNative.storeCrash(String(exception.name), adjustedReason(exception.message), exception.stack, Platform_1.Platform.Ios.toString());
39
40
  Logger_1.Logger.logDebug(`ErrorHandler storeCrash(${exception}, ${isFatal})`);
40
41
  }
41
42
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/react-native-plugin",
3
- "version": "2.283.2",
3
+ "version": "2.283.3",
4
4
  "description": "This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.",
5
5
  "main": "index.js",
6
6
  "types": "typings/react-native-dynatrace.d.ts",
@@ -75,7 +75,7 @@
75
75
  "jscodeshift": "^0.15.1",
76
76
  "plist": "^3.1.0",
77
77
  "proxy-polyfill": "^0.3.2",
78
- "semver": "^7.5.4"
78
+ "semver": "^7.6.0"
79
79
  },
80
80
  "homepage": "https://www.dynatrace.com/",
81
81
  "peerDependencies": {
@@ -12,19 +12,12 @@ Pod::Spec.new do |s|
12
12
  s.version = package['version']
13
13
  s.summary = package['description']
14
14
  s.homepage = package['homepage']
15
- s.ios.deployment_target = "11.0"
16
- s.tvos.deployment_target = "11.0"
15
+ s.ios.deployment_target = "12.0"
16
+ s.tvos.deployment_target = "12.0"
17
17
  s.source_files = ["ios/*.{h,m}","ios/lib/*.h"]
18
- s.vendored_frameworks = 'ios/lib/Dynatrace.xcframework'
19
18
 
20
19
  s.license = { :type => 'Commercial', :text => 'https://github.com/Dynatrace/dem-license/blob/main/LICENSE.md'}
21
20
 
22
- s.ios.frameworks = "CoreLocation", "CoreTelephony", "Security", "SystemConfiguration", "MessageUI", "WebKit"
23
- s.libraries = "sqlite3", "z", "c++"
24
- s.requires_arc = true
25
- s.compiler_flags = '-DOS_OBJECT_USE_OBJC=1'
26
- s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
27
-
28
21
  # --- License ----------------------------------------------------------- #
29
22
  #
30
23
 
@@ -118,6 +111,7 @@ Pod::Spec.new do |s|
118
111
  #
119
112
 
120
113
  s.dependency "React"
114
+ s.dependency 'Dynatrace', '~> 8.283.1.1004'
121
115
 
122
116
  # Allows for better compatibility for older and newer versions
123
117
  if defined?(install_modules_dependencies)
@@ -1,75 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>AvailableLibraries</key>
6
- <array>
7
- <dict>
8
- <key>BinaryPath</key>
9
- <string>Dynatrace.framework/Dynatrace</string>
10
- <key>LibraryIdentifier</key>
11
- <string>tvos-arm64</string>
12
- <key>LibraryPath</key>
13
- <string>Dynatrace.framework</string>
14
- <key>SupportedArchitectures</key>
15
- <array>
16
- <string>arm64</string>
17
- </array>
18
- <key>SupportedPlatform</key>
19
- <string>tvos</string>
20
- </dict>
21
- <dict>
22
- <key>BinaryPath</key>
23
- <string>Dynatrace.framework/Dynatrace</string>
24
- <key>LibraryIdentifier</key>
25
- <string>tvos-arm64_x86_64-simulator</string>
26
- <key>LibraryPath</key>
27
- <string>Dynatrace.framework</string>
28
- <key>SupportedArchitectures</key>
29
- <array>
30
- <string>arm64</string>
31
- <string>x86_64</string>
32
- </array>
33
- <key>SupportedPlatform</key>
34
- <string>tvos</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>simulator</string>
37
- </dict>
38
- <dict>
39
- <key>BinaryPath</key>
40
- <string>Dynatrace.framework/Dynatrace</string>
41
- <key>LibraryIdentifier</key>
42
- <string>ios-arm64</string>
43
- <key>LibraryPath</key>
44
- <string>Dynatrace.framework</string>
45
- <key>SupportedArchitectures</key>
46
- <array>
47
- <string>arm64</string>
48
- </array>
49
- <key>SupportedPlatform</key>
50
- <string>ios</string>
51
- </dict>
52
- <dict>
53
- <key>BinaryPath</key>
54
- <string>Dynatrace.framework/Dynatrace</string>
55
- <key>LibraryIdentifier</key>
56
- <string>ios-arm64_x86_64-simulator</string>
57
- <key>LibraryPath</key>
58
- <string>Dynatrace.framework</string>
59
- <key>SupportedArchitectures</key>
60
- <array>
61
- <string>arm64</string>
62
- <string>x86_64</string>
63
- </array>
64
- <key>SupportedPlatform</key>
65
- <string>ios</string>
66
- <key>SupportedPlatformVariant</key>
67
- <string>simulator</string>
68
- </dict>
69
- </array>
70
- <key>CFBundlePackageType</key>
71
- <string>XFWK</string>
72
- <key>XCFrameworkFormatVersion</key>
73
- <string>1.0</string>
74
- </dict>
75
- </plist>