diff --git a/sample/NSExceptionKtSample/AppDelegate.swift b/sample/NSExceptionKtSample/AppDelegate.swift index 1477871..a32a22e 100644 --- a/sample/NSExceptionKtSample/AppDelegate.swift +++ b/sample/NSExceptionKtSample/AppDelegate.swift @@ -12,15 +12,15 @@ class AppDelegate: NSObject, UIApplicationDelegate { didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil ) -> Bool { + // Setup Firebase Crashlytics + FirebaseApp.configure() + NSExceptionKt.addReporter(.crashlytics(causedByStrategy: .append)) + // Setup Bugsnag let config = BugsnagConfiguration.loadConfig() NSExceptionKt.addReporter(.bugsnag(config)) Bugsnag.start(with: config) - // Setup Firebase Craslytics - FirebaseApp.configure() - NSExceptionKt.addReporter(.crashlytics(causedByStrategy: .append)) - return true } }