File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,12 @@ - (void)setReleaseVersionDist:(SentryEvent *)event {
188188 [NSException raise: @" SentryReactNative" format: @" %@ " , error.localizedDescription];
189189 }
190190 SentryClient.sharedClient .beforeSerializeEvent = ^(SentryEvent * _Nonnull event) {
191+ if (nil == event.extra ) {
192+ event.extra = [NSMutableDictionary new ];
193+ }
191194 [self injectReactNativeFrames: event];
192195 [self setReleaseVersionDist: event];
196+ event.extra [@" react-native" ] = @(YES );
193197 };
194198}
195199
Original file line number Diff line number Diff line change 146146 58B511D21A9E6C8500147676 = {
147147 isa = PBXGroup;
148148 children = (
149- 6378C6F91EAF630500A1F1EE /* RNSentryEventEmitter.h */,
150- 6378C6FA1EAF630500A1F1EE /* RNSentryEventEmitter.m */,
151149 632232581E76C45800F58A1F /* Libraries */,
152150 63329BC41E47AB790099D77A /* Vendor */,
153151 B3E7B5881CC2AC0600A0062D /* RNSentry.h */,
154152 B3E7B5891CC2AC0600A0062D /* RNSentry.m */,
153+ 6378C6F91EAF630500A1F1EE /* RNSentryEventEmitter.h */,
154+ 6378C6FA1EAF630500A1F1EE /* RNSentryEventEmitter.m */,
155155 134814211AA4EA7D00B7C361 /* Products */,
156156 6387B7961ED84BA70045A84C /* Frameworks */,
157157 );
You can’t perform that action at this time.
0 commit comments