Skip to content

Commit 93fdb35

Browse files
committed
Add sdk detail
1 parent c598185 commit 93fdb35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/RNSentry.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ - (void)setReleaseVersionDist:(SentryEvent *)event {
169169
if (event.extra[@"__sentry_dist"]) {
170170
event.dist = [NSString stringWithFormat:@"%@", event.extra[@"__sentry_dist"]];
171171
}
172+
NSMutableDictionary *prevExtra = SentryClient.sharedClient.extra.mutableCopy;
173+
[prevExtra setValue:@"react-native" forKey:@"__sentry_sdk_detail"];
174+
SentryClient.sharedClient.extra = prevExtra;
172175
}
173176

174177
RCT_EXPORT_MODULE()

0 commit comments

Comments
 (0)