Files
MapLibreParticleLab/platform/ios/app-swift/Sources/MapLibreApp.swift
Adrian Cojocaru cc33527dd8 iOS long running test v2 (#3978)
Co-authored-by: Bart Louwers <bart@emeel.net>
2025-11-28 21:33:49 +00:00

26 lines
533 B
Swift

import MapLibre
import Sentry
import SwiftUI
import UIKit
@main
struct MapLibreApp: App {
init() {
if let dsn = Bundle.main.object(forInfoDictionaryKey: "SENTRY_DSN") as? String {
SentrySDK.start { options in
options.dsn = dsn
options.enableCrashHandler = true
options.enabled = true
}
print("Sentry initialized")
}
}
var body: some Scene {
WindowGroup {
MapLibreNavigationView()
}
}
}