Plug-and-Play Background Task Support in WinUI 3 #5531
              
                Unanswered
              
          
                  
                    
                      nextcodelab
                    
                  
                
                  asked this question in
                Ideas
              
            Replies: 2 comments
-
| 
         file an issue here in this repo. EDIT : I forgot about the new universalBGTask API. here is a similar ask:  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         I did a test by replacing SystemTrigger by TimeTrigger with https://github.com/microsoft/WindowsAppSDK-Samples/tree/release/experimental/Samples/BackgroundTask/OutOfProc%20BackgroundTask/cs-winui  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'm building an app using WinUI 3 and I only need one key background task feature:
👉 a 15-minute periodic timer trigger (like
TimeTrigger) to show a daily message notification.This is currently possible in UWP using
BackgroundTaskBuilderandTimeTrigger(15, false), but WinUI 3 does not yet support this.Request
Please support timer-based background tasks in WinUI 3, similar to what exists in UWP. This is critical for:
I want to move fully to WinUI 3, but this one feature keeps me stuck on UWP.
Impact
Without this, developers must either:
Thank you for the great progress on Windows App SDK. Hope this can be addressed soon!
Right now:
Even with workarounds (like app-resumed logic or using Win32 scheduler hacks), it's not as reliable or declarative as UWP background tasks.
📦 Proposed Goal
Make background tasks in WinUI 3 as simple and declarative as UWP, for example:
Beta Was this translation helpful? Give feedback.
All reactions