Polling API - nimblehq/github-notifications-mac GitHub Wiki
UIApplicationSupportsMultipleScenes is enabled to allow the application to supports multiple scenes simultaneously. The application will not quit when pressing the close button (x icon). The application will completely quit when the user press Quit or using short cut key ⌘ + Q to quit the application.
As UIApplicationSupportsMultipleScenes is enabled, the application will calls https://api.github.com/notifications every one minute even when the application is closed.
Using Combine's Time Publishers to polling requests in the foreground of AppDelegate. New notifications that haven't been shown will show as notification banners in the Notifications Center.