Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28123] iOS 14: Add APIs to refresh widgets

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 9.2.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2020-09-10T09:07:15.000+0000
Updated2021-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().

Comments

  1. Hans Knöchel 2020-09-10

    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!
  2. Ewan Harris 2021-08-24

    We're going to remove this from 10.1.0 as there is a module

JSON Source