@@ -6,28 +6,7 @@ import UIKit
6
6
class AppDelegate : UIResponder , UIApplicationDelegate {
7
7
8
8
func application( _ application: UIApplication , didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ? ) -> Bool {
9
-
10
- SentrySDK . start { options in
11
- options
. dsn
= " https://[email protected] /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 ( )
31
10
return true
32
11
}
33
12
@@ -38,11 +17,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
38
17
// Use this method to select a configuration to create the new scene with.
39
18
return UISceneConfiguration ( name: " Default Configuration " , sessionRole: connectingSceneSession. role)
40
19
}
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
-
48
20
}
0 commit comments