Files
duooomi-ios-sdk/demo/Sources/DemoApp.swift
2026-04-10 16:15:53 +08:00

21 lines
502 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import SwiftUI
import DuooomiBleSDK
/// Demo SDK
/// apiKeyapiHost/cdnHost/firmwareIdentifier/firmwareStatus使
@main
struct DemoApp: App {
@StateObject private var sdk = DuooomiBleSDK(config: .init(
apiKey: ""
))
var body: some Scene {
WindowGroup {
NavigationView {
WrapperTestView()
}
.environmentObject(sdk)
}
}
}