unoplatform/uno

Please implement `Windows.ApplicationModel.Background`

Open

#2,406 opened on Dec 28, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C# (837 forks)batch import
difficulty/challenging 🤯epichelp wantedkind/enhancementno-reproproject/non-ui ⚙️

Repository metrics

Stars
 (9,789 stars)
PR merge metrics
 (Avg merge 14d 8h) (130 merged PRs in 30d)

Description

What would you like to be added:

Simple timer app activation, i.e. var builder = new Windows.ApplicationModel.Background.BackgroundTaskBuilder(); builder.SetTrigger(new Windows.ApplicationModel.Background.TimeTrigger(int, bool)); builder.Register()

Why is this needed:

Many apps should be activated once for a while (e.g. once per hour), to make something. I want to convert to Uno (and Android) app which checks air pollution and show notification about current status.

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

Contributor guide