Skip to content

Commit 0eb6786

Browse files
chore: update imports for LaunchDarklyObservability_Common in session replay files
1 parent 29189d6 commit 0eb6786

File tree

10 files changed

+29
-10
lines changed

10 files changed

+29
-10
lines changed

LaunchDarklySessionReplay.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Pod::Spec.new do |s|
3535
'OTHER_SWIFT_FLAGS' => '$(inherited) -package-name LaunchDarklyObservability'
3636
}
3737
ss.dependency "LaunchDarklySessionReplay/SessionReplayC"
38+
ss.dependency "LaunchDarklyObservability/Common"
3839
ss.dependency "LaunchDarklyObservability"
3940
end
4041

Sources/LaunchDarklySessionReplay/Exporter/RRWebEventGenerator.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ import UIKit
44
#endif
55
import LaunchDarklyObservability
66
import OSLog
7-
#if !LD_COCOAPODS
8-
import Common
7+
#if LD_COCOAPODS
8+
import LaunchDarklyObservability_Common
9+
#else
10+
import Common
911
#endif
1012

1113
enum RRWebPlayerConstants {

Sources/LaunchDarklySessionReplay/Exporter/SessionReplayExporter.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import Foundation
22
import Combine
33
import LaunchDarklyObservability
44
import OSLog
5-
#if !LD_COCOAPODS
5+
#if LD_COCOAPODS
6+
import LaunchDarklyObservability_Common
7+
#else
68
import Common
79
#endif
810

Sources/LaunchDarklySessionReplay/Exporter/TouchInteraction+Payload.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Foundation
22
import LaunchDarklyObservability
3-
#if !LD_COCOAPODS
3+
#if LD_COCOAPODS
4+
import LaunchDarklyObservability_Common
5+
#else
46
import Common
57
#endif
68

Sources/LaunchDarklySessionReplay/Operations/IdentifySessionOperation.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import Foundation
2-
#if !LD_COCOAPODS
2+
#if LD_COCOAPODS
3+
import LaunchDarklyObservability_Common
4+
#else
35
import Common
46
#endif
57

Sources/LaunchDarklySessionReplay/Operations/PushPayloadOperation.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import Foundation
2-
#if !LD_COCOAPODS
2+
#if LD_COCOAPODS
3+
import LaunchDarklyObservability_Common
4+
#else
35
import Common
46
#endif
57

Sources/LaunchDarklySessionReplay/Operations/SessionReplayAPIService.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import Foundation
2-
#if !LD_COCOAPODS
2+
#if LD_COCOAPODS
3+
import LaunchDarklyObservability_Common
4+
#else
35
import Common
46
#endif
57

Sources/LaunchDarklySessionReplay/ScreenCapture/MaskCollector.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import WebKit
44
#endif
55
import UIKit
66
import SwiftUI
7-
#if !LD_COCOAPODS
7+
#if LD_COCOAPODS
8+
import LaunchDarklyObservability_Common
9+
#else
810
import Common
911
#endif
1012

Sources/LaunchDarklySessionReplay/SessionReplayHook.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import Foundation
22
import LaunchDarkly
33
import LaunchDarklyObservability
4-
#if !LD_COCOAPODS
4+
#if LD_COCOAPODS
5+
import LaunchDarklyObservability_Common
6+
#else
57
import Common
68
#endif
79

Sources/LaunchDarklySessionReplay/SessionReplayService.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import Foundation
22
import LaunchDarklyObservability
33
import OSLog
44
import Combine
5-
#if !LD_COCOAPODS
5+
#if LD_COCOAPODS
6+
import LaunchDarklyObservability_Common
7+
#else
68
import Common
79
#endif
810

0 commit comments

Comments
 (0)