Post

Replies

Boosts

Views

Activity

Reply to WidgetCenter.shared.reloadAllTimelines() only works when app is in the foreground
Same happening here when I try to update widgets from push notification, I execute 2 actions given a push notification. 1 - Log that the method was triggered 2 - WidgetCenter.shared.reloadAllTimelines() All works well while Xcode debugger is attached, then it stops after the app is running without xcode, but I see that the block of code was executed because the log is created. Any idea what I may be doing wrong? Or is this a known issue? I work on a smart home platform app, while my widgets can't update in realtime, Apple Home widgets update as often as needed, so it's quite unfair to compete with that.
1w