diff --git a/Datadog/Datadog.xcodeproj/project.pbxproj b/Datadog/Datadog.xcodeproj/project.pbxproj index be1225560..22298c37a 100644 --- a/Datadog/Datadog.xcodeproj/project.pbxproj +++ b/Datadog/Datadog.xcodeproj/project.pbxproj @@ -681,7 +681,6 @@ 61FDBA15269722B4001D9D43 /* CrashReportMinifierTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61FDBA14269722B4001D9D43 /* CrashReportMinifierTests.swift */; }; 61FDBA1726974CA9001D9D43 /* DDCrashReportBuilderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61FDBA1626974CA9001D9D43 /* DDCrashReportBuilderTests.swift */; }; 61FF282824B8A31E000B3D9B /* RUMEventMatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61FF282724B8A31E000B3D9B /* RUMEventMatcher.swift */; }; - 966253B62C98807400B90B63 /* PrivacyLevel+SessionReplay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 966253B52C98807400B90B63 /* PrivacyLevel+SessionReplay.swift */; }; 969B3B212C33F80500D62400 /* UIActivityIndicatorRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 969B3B202C33F80500D62400 /* UIActivityIndicatorRecorder.swift */; }; 969B3B232C33F81E00D62400 /* UIActivityIndicatorRecorderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 969B3B222C33F81E00D62400 /* UIActivityIndicatorRecorderTests.swift */; }; 96E414142C2AF56F005A6119 /* UIProgressViewRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E414132C2AF56F005A6119 /* UIProgressViewRecorder.swift */; }; @@ -689,6 +688,8 @@ 96E863722C9C547B0023BF78 /* SessionReplayOverrideTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E863712C9C547B0023BF78 /* SessionReplayOverrideTests.swift */; }; 96E863742C9C64180023BF78 /* SessionReplayOverrides+objc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E863732C9C64180023BF78 /* SessionReplayOverrides+objc.swift */; }; 96E863772C9C7ECF0023BF78 /* DDSessionReplayOverridesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E863752C9C7E800023BF78 /* DDSessionReplayOverridesTests.swift */; }; + 96E863802CA1B59C0023BF78 /* PrivacyLevel+SessionReplay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 966253B52C98807400B90B63 /* PrivacyLevel+SessionReplay.swift */; }; + 96E863812CA1B59D0023BF78 /* PrivacyLevel+SessionReplay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 966253B52C98807400B90B63 /* PrivacyLevel+SessionReplay.swift */; }; 9E55407C25812D1C00F6E3AD /* RUM+objc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E55407B25812D1C00F6E3AD /* RUM+objc.swift */; }; 9E58E8E324615EDA008E5063 /* JSONEncoderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E58E8E224615EDA008E5063 /* JSONEncoderTests.swift */; }; 9E5B6D2E270C84B4002499B8 /* RUMMonitorE2ETests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E5B6D2D270C84B4002499B8 /* RUMMonitorE2ETests.swift */; }; @@ -3624,7 +3625,6 @@ isa = PBXGroup; children = ( 61054E142A6EE10A00AAA894 /* UIImage+SessionReplay.swift */, - 966253B52C98807400B90B63 /* PrivacyLevel+SessionReplay.swift */, 61054E152A6EE10A00AAA894 /* UIKitExtensions.swift */, 61054E162A6EE10A00AAA894 /* CFType+Safety.swift */, 61054E172A6EE10A00AAA894 /* SystemColors.swift */, @@ -6454,6 +6454,7 @@ isa = PBXGroup; children = ( D2EA0F452C0E1AE200CB20F8 /* SessionReplayConfiguration.swift */, + 966253B52C98807400B90B63 /* PrivacyLevel+SessionReplay.swift */, ); path = SessionReplay; sourceTree = ""; @@ -8397,7 +8398,6 @@ D2BCB2A12B7B8107005C2AAB /* WKWebViewRecorder.swift in Sources */, 61054E712A6EE10A00AAA894 /* TouchSnapshot.swift in Sources */, 61054E8A2A6EE10A00AAA894 /* WindowViewTreeSnapshotProducer.swift in Sources */, - 966253B62C98807400B90B63 /* PrivacyLevel+SessionReplay.swift in Sources */, 61054E7A2A6EE10A00AAA894 /* UIImageViewRecorder.swift in Sources */, A7B932FC2B1F6A0A00AE6477 /* SRDataModels.swift in Sources */, A795069C2B974C8200AC4814 /* SessionReplay+objc.swift in Sources */, @@ -8736,6 +8736,7 @@ D2160C9A29C0DE5700FAA9A5 /* FirstPartyHosts.swift in Sources */, D2EBEE2229BA160F00B15732 /* TracePropagationHeadersReader.swift in Sources */, D2303A02298D5236001A1FA3 /* ReadWriteLock.swift in Sources */, + 96E863802CA1B59C0023BF78 /* PrivacyLevel+SessionReplay.swift in Sources */, D2EBEE2429BA160F00B15732 /* W3CHTTPHeadersReader.swift in Sources */, A7FA98CE2BA1A6930018D6B5 /* MethodCalledMetric.swift in Sources */, D23039E8298D5236001A1FA3 /* DatadogContext.swift in Sources */, @@ -9717,6 +9718,7 @@ D2160C9B29C0DE5700FAA9A5 /* FirstPartyHosts.swift in Sources */, D2EBEE3029BA161100B15732 /* TracePropagationHeadersReader.swift in Sources */, D2DA2373298D57AA00C6C7E6 /* ReadWriteLock.swift in Sources */, + 96E863812CA1B59D0023BF78 /* PrivacyLevel+SessionReplay.swift in Sources */, D2EBEE3229BA161100B15732 /* W3CHTTPHeadersReader.swift in Sources */, A7FA98CF2BA1A6930018D6B5 /* MethodCalledMetric.swift in Sources */, D2DA2374298D57AA00C6C7E6 /* DatadogContext.swift in Sources */, diff --git a/DatadogSessionReplay/Sources/Recorder/Utilities/PrivacyLevel+SessionReplay.swift b/DatadogInternal/Sources/Models/SessionReplay/PrivacyLevel+SessionReplay.swift similarity index 98% rename from DatadogSessionReplay/Sources/Recorder/Utilities/PrivacyLevel+SessionReplay.swift rename to DatadogInternal/Sources/Models/SessionReplay/PrivacyLevel+SessionReplay.swift index 9140e432c..7a2520354 100644 --- a/DatadogSessionReplay/Sources/Recorder/Utilities/PrivacyLevel+SessionReplay.swift +++ b/DatadogInternal/Sources/Models/SessionReplay/PrivacyLevel+SessionReplay.swift @@ -4,9 +4,7 @@ * Copyright 2019-Present Datadog, Inc. */ -#if os(iOS) import UIKit -import DatadogInternal // MARK: - DatadogExtension for UIView @@ -79,4 +77,3 @@ public struct SessionReplayOverrideExtension { } } } -#endif