func application()

in PoC/iOS/Bluetooth Tracing PoC/Sources/AppDelegate.swift [33:46]


    func application(_ application: UIApplication,
                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        Logger.shared.logMessage("\nA did finish launching\n")

        UIDevice.current.isBatteryMonitoringEnabled = true

        peripheralService = PeripheralService()
        centralService = CentralService()
        
        NotificationService.shared.authorize()

        return true
    }