unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.78k stars 706 forks source link

Please implement `Windows.ApplicationModel.Background` #2406

Open pkar70 opened 4 years ago

pkar70 commented 4 years ago

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:

Anything else we need to know?

pkar70 commented 3 years ago

This is implemented in PR#2655 (for Android).