One final question - the docs say to follow the steps in bugsnag’s own docs for setting up the iOS app, which involve calling Bugsnag.start(). But then the docs later also use BugsnagKotlin.start(), which seems to leave it in a double-init state. Is this really correct?
Copy code
@main
struct FieldSpottrApp: App {
init() {
if let key = BuildConfig.shared.BUGSNAG_NOTIFIER_KEY {
Bugsnag.start(withApiKey: key)
let config = BugsnagConfiguration(_: key)
BugsnagConfigKt.startBugsnag(config: config)
}
}
var body: some Scene {
WindowGroup {
ContentView()
}
}
}