25 lines
658 B
Swift
25 lines
658 B
Swift
import SwiftUI
|
|
import DuooomiBleSDK
|
|
|
|
class AppDelegate: ExpoBrownfieldAppDelegate {
|
|
override func application(
|
|
_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
|
|
) -> Bool {
|
|
SDKManager.shared.initialize()
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
}
|
|
}
|
|
|
|
@main
|
|
struct DuooomiTestApp: App {
|
|
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
.environmentObject(SDKManager.shared)
|
|
}
|
|
}
|
|
}
|