@sentry/react-native 3.2.2 → 3.2.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.
- package/CHANGELOG.md +10 -0
- package/RNSentry.podspec +1 -1
- package/dist/js/version.d.ts +1 -1
- package/dist/js/version.js +1 -1
- package/dist/js/version.js.map +1 -1
- package/ios/RNSentry.m +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# Unreleased
|
|
4
|
+
|
|
5
|
+
- fix(ios): tracesSampler becomes NSNull in iOS and the app cannot be started #1872
|
|
6
|
+
|
|
7
|
+
## 3.2.3
|
|
8
|
+
|
|
9
|
+
### Various fixes & improvements
|
|
10
|
+
|
|
11
|
+
- fix(ios): tracesSampler becomes NSNull in iOS and the app cannot be started (#1872) by @marandaneto
|
|
12
|
+
|
|
3
13
|
## 3.2.2
|
|
4
14
|
|
|
5
15
|
- Bump Sentry Android SDK to 5.3.0 #1860
|
package/RNSentry.podspec
CHANGED
package/dist/js/version.d.ts
CHANGED
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,OAAO,CAAC","sourcesContent":["export const SDK_NAME = \"sentry.javascript.react-native\";\nexport const SDK_VERSION = \"3.2.
|
|
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.2.3\";\n"]}
|
package/ios/RNSentry.m
CHANGED
|
@@ -62,7 +62,14 @@ RCT_EXPORT_METHOD(initNativeSdk:(NSDictionary *_Nonnull)options
|
|
|
62
62
|
return event;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
[options
|
|
65
|
+
NSMutableDictionary * mutableOptions =[options mutableCopy];
|
|
66
|
+
[mutableOptions setValue:beforeSend forKey:@"beforeSend"];
|
|
67
|
+
|
|
68
|
+
// remove performance traces sample rate and traces sampler since we don't want to synchronize these configurations
|
|
69
|
+
// to the Native SDKs.
|
|
70
|
+
// The user could tho initialize the SDK manually and set themselves.
|
|
71
|
+
[mutableOptions removeObjectForKey:@"tracesSampleRate"];
|
|
72
|
+
[mutableOptions removeObjectForKey:@"tracesSampler"];
|
|
66
73
|
|
|
67
74
|
sentryOptions = [[SentryOptions alloc] initWithDict:options didFailWithError:&error];
|
|
68
75
|
if (error) {
|
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.2.
|
|
5
|
+
"version": "3.2.3",
|
|
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",
|