[TIMOB-28123] iOS 14: Add APIs to refresh widgets
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 9.2.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2020-09-10T09:07:15.000+0000 |
Updated | 2021-08-24T15:48:42.000+0000 |
Description
We have developed a working iOS 14 widget extension with SwiftUI and the only thing left now is a call to
WidgetCenter.shared.reloadAllTimelines()
in WidgetKit to refresh widgets outside their timeline scope. It could be mapped to Ti.App.iOS.refreshAllTimelines()
.
I created a module that can help before this moves into the SDK: https://github.com/hansemannn/titanium-widget-kit. Currently, it's blocked by TIMOB-28116 but I'm confident that it will be done soon!
We're going to remove this from 10.1.0 as there is a module