File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ is_new_arch_enabled = ENV["RCT_NEW_ARCH_ENABLED"] == "1"
1414is_using_hermes = ( ENV [ 'USE_HERMES' ] == nil && is_hermes_default ) || ENV [ 'USE_HERMES' ] == '1'
1515new_arch_enabled_flag = ( is_new_arch_enabled ? folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED" : "" )
1616sentry_profiling_supported_flag = ( is_profiling_supported ? " -DSENTRY_PROFILING_SUPPORTED=1" : "" )
17- other_cflags = "$(inherited) -fcxx-modules -fmodules " + new_arch_enabled_flag + sentry_profiling_supported_flag
17+ other_cflags = "$(inherited)" + new_arch_enabled_flag + sentry_profiling_supported_flag
1818
1919Pod ::Spec . new do |s |
2020 s . name = 'RNSentry'
Original file line number Diff line number Diff line change 3636
3737#import " RNSentryEvents.h"
3838#import " RNSentryDependencyContainer.h"
39- #import " RNSentryBreadcrumbConverter .h"
39+ #import " RNSentrySessionReplay .h"
4040
4141#if SENTRY_HAS_UIKIT
4242#import " RNSentryRNSScreen.h"
@@ -91,8 +91,7 @@ + (BOOL)requiresMainQueueSetup {
9191
9292 [SentrySDK startWithOptions: sentryOptions];
9393
94- RNSentryBreadcrumbConverter* breadcrumbConverter = [[RNSentryBreadcrumbConverter alloc ] init ];
95- [PrivateSentrySDKOnly configureSessionReplayWith: breadcrumbConverter screenshotProvider: nil ];
94+ [RNSentrySessionReplay setup ];
9695
9796#if TARGET_OS_IPHONE || TARGET_OS_MACCATALYST
9897 BOOL appIsActive = [[UIApplication sharedApplication ] applicationState ] == UIApplicationStateActive;
Original file line number Diff line number Diff line change 1+
2+ @interface RNSentrySessionReplay : NSObject
3+
4+ + (void )setup ;
5+
6+ @end
Original file line number Diff line number Diff line change 1+ #import " RNSentrySessionReplay.h"
2+ #import " RNSentryBreadcrumbConverter.h"
3+
4+ @implementation RNSentrySessionReplay {}
5+
6+ + (void )setup {
7+ RNSentryBreadcrumbConverter *breadcrumbConverter =
8+ [[RNSentryBreadcrumbConverter alloc ] init ];
9+ [PrivateSentrySDKOnly configureSessionReplayWith: breadcrumbConverter
10+ screenshotProvider: nil ];
11+ }
12+
13+ @end
You can’t perform that action at this time.
0 commit comments