@@ -6,28 +6,7 @@ import UIKit
66class AppDelegate : UIResponder , UIApplicationDelegate {
77
88 func application( _ application: UIApplication , didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ? ) -> Bool {
9-
10- SentrySDK . start { options in
11- options. dsn = " https://6cc9bae94def43cab8444a99e0031c28@o447951.ingest.sentry.io/5428557 "
12- options. beforeSend = { event in
13- return event
14- }
15- options. debug = true
16- // Sampling 100% - In Production you probably want to adjust this
17- options. tracesSampleRate = 1.0
18- options. sessionTrackingIntervalMillis = 5_000
19- options. initialScope = { scope in
20- injectGitInformation ( scope: scope)
21- return scope
22- }
23-
24- // Experimental features
25- options. experimental. enableFileManagerSwizzling = true
26- options. sessionReplay. enableExperimentalViewRenderer = true
27- // Disable the fast view renderering, because we noticed parts (like the tab bar) are not rendered correctly
28- options. sessionReplay. enableFastViewRendering = false
29- }
30-
9+ SentrySDKWrapper . shared. startSentry ( )
3110 return true
3211 }
3312
@@ -38,11 +17,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3817 // Use this method to select a configuration to create the new scene with.
3918 return UISceneConfiguration ( name: " Default Configuration " , sessionRole: connectingSceneSession. role)
4019 }
41-
42- func application( _ application: UIApplication , didDiscardSceneSessions sceneSessions: Set < UISceneSession > ) {
43- // Called when the user discards a scene session.
44- // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
45- // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
46- }
47-
4820}
0 commit comments