Skip to content

Commit

Permalink
fix: capture replay call on iOS (#2264)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Sep 2, 2024
1 parent f056db1 commit 0210372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter/ios/Classes/SentryFlutterPluginApple.swift
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public class SentryFlutterPluginApple: NSObject, FlutterPlugin {
case "nativeCrash":
crash()

case "sendReplayForEvent":
case "captureReplay":
#if canImport(UIKit) && !SENTRY_NO_UIKIT && (os(iOS) || os(tvOS))
PrivateSentrySDKOnly.captureReplay()
result(PrivateSentrySDKOnly.getReplayId())
Expand Down

0 comments on commit 0210372

Please sign in to comment.