@sentry/react-native 3.2.14-beta.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/RNSentry.podspec +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.d.ts.map +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/ios/RNSentry.m +12 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
- feat: Support enableNativeCrashHandling for iOS #2101
|
|
6
|
+
- Bump: Sentry Cocoa 7.10.0 #2100
|
|
7
|
+
|
|
3
8
|
## 3.2.14-beta.2
|
|
4
9
|
|
|
5
10
|
- feat: Touch events now track components with `sentry-label` prop, falls back to `accessibilityLabel` and then finally `displayName`. #2068
|
package/RNSentry.podspec
CHANGED
package/dist/js/version.d.ts
CHANGED
package/dist/js/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AACzD,eAAO,MAAM,WAAW,UAAU,CAAC"}
|
package/dist/js/version.js
CHANGED
package/dist/js/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/js/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AACzD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC","sourcesContent":["export const SDK_NAME = \"sentry.javascript.react-native\";\nexport const SDK_VERSION = \"3.3.0\";\n"]}
|
package/ios/RNSentry.m
CHANGED
|
@@ -68,8 +68,7 @@ RCT_EXPORT_METHOD(initNativeSdk:(NSDictionary *_Nonnull)options
|
|
|
68
68
|
// remove performance traces sample rate and traces sampler since we don't want to synchronize these configurations
|
|
69
69
|
// to the Native SDKs.
|
|
70
70
|
// The user could tho initialize the SDK manually and set themselves.
|
|
71
|
-
|
|
72
|
-
// [mutableOptions removeObjectForKey:@"tracesSampleRate"];
|
|
71
|
+
[mutableOptions removeObjectForKey:@"tracesSampleRate"];
|
|
73
72
|
[mutableOptions removeObjectForKey:@"tracesSampler"];
|
|
74
73
|
|
|
75
74
|
sentryOptions = [[SentryOptions alloc] initWithDict:mutableOptions didFailWithError:&error];
|
|
@@ -77,6 +76,17 @@ RCT_EXPORT_METHOD(initNativeSdk:(NSDictionary *_Nonnull)options
|
|
|
77
76
|
reject(@"SentryReactNative", error.localizedDescription, error);
|
|
78
77
|
return;
|
|
79
78
|
}
|
|
79
|
+
|
|
80
|
+
if ([mutableOptions valueForKey:@"enableNativeCrashHandling"] != nil) {
|
|
81
|
+
BOOL enableNativeCrashHandling = (BOOL)[mutableOptions valueForKey:@"enableNativeCrashHandling"];
|
|
82
|
+
|
|
83
|
+
if (!enableNativeCrashHandling) {
|
|
84
|
+
NSMutableArray *integrations = sentryOptions.integrations.mutableCopy;
|
|
85
|
+
[integrations removeObject:@"SentryCrashIntegration"];
|
|
86
|
+
sentryOptions.integrations = integrations;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
80
90
|
[SentrySDK startWithOptionsObject:sentryOptions];
|
|
81
91
|
|
|
82
92
|
// If the app is active/in foreground, and we have not sent the SentryHybridSdkDidBecomeActive notification, send it.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sentry/react-native",
|
|
3
3
|
"homepage": "https://github.com/getsentry/sentry-react-native",
|
|
4
4
|
"repository": "https://github.com/getsentry/sentry-react-native",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.3.0",
|
|
6
6
|
"description": "Official Sentry SDK for react-native",
|
|
7
7
|
"typings": "dist/js/index.d.ts",
|
|
8
8
|
"types": "dist/js/index.d.ts",
|