From 469c32d7117114f42ff18f40e58f87eed4efeb81 Mon Sep 17 00:00:00 2001 From: Aiden Vigue Date: Tue, 25 May 2021 16:23:23 -0400 Subject: [PATCH] banish Dynatrace --- Cartfile | 3 +-- JellyfinPlayer.xcodeproj/project.pbxproj | 31 ------------------------ JellyfinPlayer/ContentView.swift | 9 ------- JellyfinPlayer/Info.plist | 8 ------ input-ios.xcfilelist | 2 -- output-ios.xcfilelist | 2 -- 6 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 input-ios.xcfilelist delete mode 100644 output-ios.xcfilelist diff --git a/Cartfile b/Cartfile index b3261ac7..c1c758fb 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1 @@ -binary "https://code.videolan.org/videolan/VLCKit/raw/master/Packaging/MobileVLCKit.json" ~> 3.3.0 -binary "https://files.dynatrace.com/mobileagent/carthage/dynatrace.json" ~> 8.197 \ No newline at end of file +binary "https://code.videolan.org/videolan/VLCKit/raw/master/Packaging/MobileVLCKit.json" ~> 3.3.0 \ No newline at end of file diff --git a/JellyfinPlayer.xcodeproj/project.pbxproj b/JellyfinPlayer.xcodeproj/project.pbxproj index 28d29cea..a3c15bbe 100644 --- a/JellyfinPlayer.xcodeproj/project.pbxproj +++ b/JellyfinPlayer.xcodeproj/project.pbxproj @@ -8,8 +8,6 @@ /* Begin PBXBuildFile section */ 5302F82A2658791C00647A2E /* Sentry in Frameworks */ = {isa = PBXBuildFile; productRef = 5302F8292658791C00647A2E /* Sentry */; }; - 5302F82C2658B5FE00647A2E /* Dynatrace.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5302F82B2658B5FE00647A2E /* Dynatrace.framework */; }; - 5302F82F2658B60900647A2E /* DynatraceSessionReplay.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5302F82E2658B60900647A2E /* DynatraceSessionReplay.framework */; }; 53192D5D265AA78A008A4215 /* DeviceProfileBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53192D5C265AA78A008A4215 /* DeviceProfileBuilder.swift */; }; 5338F74E263B61370014BF09 /* ConnectToServerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5338F74D263B61370014BF09 /* ConnectToServerView.swift */; }; 5338F751263B62E80014BF09 /* HidingViews in Frameworks */ = {isa = PBXBuildFile; productRef = 5338F750263B62E80014BF09 /* HidingViews */; }; @@ -73,8 +71,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 5302F82B2658B5FE00647A2E /* Dynatrace.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Dynatrace.framework; path = Carthage/Build/iOS/Dynatrace.framework; sourceTree = ""; }; - 5302F82E2658B60900647A2E /* DynatraceSessionReplay.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DynatraceSessionReplay.framework; path = Carthage/Build/iOS/DynatraceSessionReplay.framework; sourceTree = ""; }; 53192D5C265AA78A008A4215 /* DeviceProfileBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceProfileBuilder.swift; sourceTree = ""; }; 5338F74D263B61370014BF09 /* ConnectToServerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConnectToServerView.swift; sourceTree = ""; }; 535BAE9E2649E569005FA86D /* ItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ItemView.swift; sourceTree = ""; }; @@ -116,12 +112,10 @@ buildActionMask = 2147483647; files = ( 538CD954263E3DC100BB5AF0 /* SDWebImageSwiftUI in Frameworks */, - 5302F82C2658B5FE00647A2E /* Dynatrace.framework in Frameworks */, 5338F757263B7E2E0014BF09 /* KeychainSwift in Frameworks */, 53D5E3DD264B47EE00BADDC8 /* MobileVLCKit.xcframework in Frameworks */, 5338F754263B65E10014BF09 /* SwiftyRequest in Frameworks */, 5302F82A2658791C00647A2E /* Sentry in Frameworks */, - 5302F82F2658B60900647A2E /* DynatraceSessionReplay.framework in Frameworks */, 53D2F74A264C69F6005792BB /* Introspect in Frameworks */, 5389277A263CBFE70035E14B /* SwiftyJSON in Frameworks */, 5338F751263B62E80014BF09 /* HidingViews in Frameworks */, @@ -197,8 +191,6 @@ 53D5E3DB264B47EE00BADDC8 /* Frameworks */ = { isa = PBXGroup; children = ( - 5302F82E2658B60900647A2E /* DynatraceSessionReplay.framework */, - 5302F82B2658B5FE00647A2E /* Dynatrace.framework */, 53D5E3DC264B47EE00BADDC8 /* MobileVLCKit.xcframework */, ); name = Frameworks; @@ -248,7 +240,6 @@ 5377CBEF263B596A003A4E83 /* Resources */, 53D5E3DF264B47EE00BADDC8 /* Embed Frameworks */, 5302F8322658B74800647A2E /* CopyFiles */, - 5302F8332658B74B00647A2E /* ShellScript */, ); buildRules = ( ); @@ -325,28 +316,6 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 5302F8332658B74B00647A2E /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "input-ios.xcfilelist", - ); - inputPaths = ( - ); - outputFileListPaths = ( - "output-ios.xcfilelist", - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n/usr/local/bin/carthage copy-frameworks\n"; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 5377CBED263B596A003A4E83 /* Sources */ = { isa = PBXSourcesBuildPhase; diff --git a/JellyfinPlayer/ContentView.swift b/JellyfinPlayer/ContentView.swift index 8ac96a0d..bcaa4f56 100644 --- a/JellyfinPlayer/ContentView.swift +++ b/JellyfinPlayer/ContentView.swift @@ -11,7 +11,6 @@ import SwiftyRequest import SwiftyJSON import Introspect import Sentry -import Dynatrace import SDWebImageSwiftUI class GlobalData: ObservableObject { @@ -215,14 +214,6 @@ struct ContentView: View { options.enableOutOfMemoryTracking = true } - let privacyConfig = Dynatrace.userPrivacyOptions() - privacyConfig.dataCollectionLevel = .userBehavior - privacyConfig.crashReportingOptedIn = true - privacyConfig.crashReplayOptedIn = true - Dynatrace.applyUserPrivacyOptions(privacyConfig) { (Bool) in - print("Dynatrace privacy changed!") - } - let cache = SDImageCache(namespace: "tiny") cache.config.maxMemoryCost = 125 * 1024 * 1024 // 125MB memory cache.config.maxDiskSize = 1000 * 1024 * 1024 // 1000MB disk diff --git a/JellyfinPlayer/Info.plist b/JellyfinPlayer/Info.plist index b133cc4e..94c83cc7 100644 --- a/JellyfinPlayer/Info.plist +++ b/JellyfinPlayer/Info.plist @@ -20,14 +20,6 @@ $(MARKETING_VERSION) CFBundleVersion 18 - DTXApplicationID - 8c1f6941-ec78-480c-b589-b41aca29a52e - DTXBeaconURL - https://bf64941kgh.bf.dynatrace.com/mbeacon - DTXStartupLoadBalancing - - DTXUserOptIn - ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/input-ios.xcfilelist b/input-ios.xcfilelist deleted file mode 100644 index 06717521..00000000 --- a/input-ios.xcfilelist +++ /dev/null @@ -1,2 +0,0 @@ -$(SRCROOT)/Carthage/Build/iOS/Dynatrace.framework -$(SRCROOT)/Carthage/Build/iOS/DynatraceSessionReplay.framework \ No newline at end of file diff --git a/output-ios.xcfilelist b/output-ios.xcfilelist deleted file mode 100644 index 0bf749f2..00000000 --- a/output-ios.xcfilelist +++ /dev/null @@ -1,2 +0,0 @@ -$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Dynatrace.framework -$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/DynatraceSessionReplay.framework \ No newline at end of file