AppDelegate.m 790 Bytes
Newer Older
Rye Mutt's avatar
Rye Mutt committed
1
#import "AppDelegate.h"
Rye Mutt's avatar
Rye Mutt committed
2
@import CoreData;
Rye Mutt's avatar
Rye Mutt committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@import Sentry;

@interface
AppDelegate ()

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.

    [SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
        options.dsn = @"https://a92d50327ac74b8b9aa4ea80eccfb267@o447951.ingest.sentry.io/5428557";
        options.debug = YES;
Rye Mutt's avatar
Rye Mutt committed
20
        options.sessionTrackingIntervalMillis = 5000UL;
Rye Mutt's avatar
Rye Mutt committed
21
22
        // Sampling 100% - In Production you probably want to adjust this
        options.tracesSampleRate = @1.0;
Rye Mutt's avatar
Rye Mutt committed
23
        options.enableFileIOTracking = YES;
Rye Mutt's avatar
Rye Mutt committed
24
25
26
27
28
29
30
31
    }];

    return YES;
}

#pragma mark - UISceneSession lifecycle

@end