Skip to content

Commit

Permalink
SENTRY_TARGET_REPLAY_SUPPORTED
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin committed Jan 29, 2025
1 parent 82acf29 commit 276f608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions Sources/Sentry/PrivateSentrySDKOnly.mm
Original file line number Diff line number Diff line change
Expand Up @@ -320,16 +320,13 @@ + (SentryBreadcrumb *)breadcrumbWithDictionary:(NSDictionary *)dictionary
return [[SentryBreadcrumb alloc] initWithDictionary:dictionary];
}

#if SENTRY_HAS_UIKIT
#if SENTRY_TARGET_REPLAY_SUPPORTED

+ (UIView *)sessionReplayMaskingOverlay:(id<SentryRedactOptions>)options
{
return [[SentryMaskingPreviewView alloc] initWithRedactOptions:options];
}

Check warning on line 328 in Sources/Sentry/PrivateSentrySDKOnly.mm

View check run for this annotation

Codecov / codecov/patch

Sources/Sentry/PrivateSentrySDKOnly.mm#L327-L328

Added lines #L327 - L328 were not covered by tests

#endif

#if SENTRY_TARGET_REPLAY_SUPPORTED
+ (nullable SentrySessionReplayIntegration *)getReplayIntegration
{

Expand Down
6 changes: 1 addition & 5 deletions Sources/Sentry/include/HybridPublic/PrivateSentrySDKOnly.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ typedef void (^SentryOnAppStartMeasurementAvailable)(

#endif // SENTRY_UIKIT_AVAILABLE

#if SENTRY_HAS_UIKIT
#if SENTRY_TARGET_REPLAY_SUPPORTED

/**
* Return an instance of SentryRedactOptions with given option
Expand All @@ -193,10 +193,6 @@ typedef void (^SentryOnAppStartMeasurementAvailable)(
*/
+ (UIView *)sessionReplayMaskingOverlay:(id<SentryRedactOptions>)options;

#endif

#if SENTRY_TARGET_REPLAY_SUPPORTED

/**
* Configure session replay with different breadcrumb converter
* and screeshot provider. Used by the Hybrid SDKs.
Expand Down

0 comments on commit 276f608

Please sign in to comment.