func show()

in PoC/iOS/Bluetooth Tracing PoC/Sources/Services/NotificationService.swift [53:64]


    func show(message: String) {
        setupCategories()

        let content = UNMutableNotificationContent()
        content.categoryIdentifier = Constants.categoryRestart
        content.title = "BT message"
        content.body = message
        content.sound = .default

        let request = UNNotificationRequest(identifier: UUID().uuidString, content: content, trigger: nil)
        UNUserNotificationCenter.current().add(request)
    }