Task Invoker – Mobile Background Tasks


Task Invoker - Run C# code while your mobile app is in the background.


by Vuopaja


★★★★ star rating
Price History +

Features

  • Runs C# code while the app is in the background
  • Invokes a C# callback on a configurable interval
  • Supports Android and iOS
  • Runs on the Unity main thread so Unity components can be accessed as usual
  • Includes utilities for wrapping UnityWebRequests with tasks so that they keep running even if the app is sent to the background

Compatibility

  • Unity Editor 2017 or newer
  • Android devices supported by Unity 2017 or newer
  • iOS devices supported by Unity 2017 or newer

Additional Notes

  • These tasks are meant for light background work, not for running the whole game in the background.
  • Tasks will not run indefinitely: the tasks will stop running if the app is killed by the user or the OS. Please view the technical details below for more info.

Links