mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-05-25 02:32:11 +00:00
maybe fixes background not executed
This commit is contained in:
parent
1ea97d58ea
commit
1216ec252d
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ import workmanager_apple
|
||||||
|
|
||||||
WorkmanagerDebug.setCurrent(LoggingDebugHandler())
|
WorkmanagerDebug.setCurrent(LoggingDebugHandler())
|
||||||
|
|
||||||
|
WorkmanagerPlugin.setPluginRegistrantCallback { registry in
|
||||||
|
GeneratedPluginRegistrant.register(with: registry)
|
||||||
|
}
|
||||||
|
|
||||||
WorkmanagerPlugin.registerPeriodicTask(
|
WorkmanagerPlugin.registerPeriodicTask(
|
||||||
withIdentifier: "eu.twonly.periodic_task",
|
withIdentifier: "eu.twonly.periodic_task",
|
||||||
frequency: NSNumber(value: 20 * 60)
|
frequency: NSNumber(value: 20 * 60)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue