Skip to content

Migrate watchOS complications to WidgetKit #1815

@dfeinzimer

Description

@dfeinzimer

As of watchOS 9, Apple has deprecated a large portion of the CLKComplication* API in favor of migrating to WidgetKit.

The number of supported complication families has been reduced.

Screen Shot 2022-10-21 at 01 15 38

At least one of of Loop's existing complications (stack text on the X-Large face) is reportedly no longer working on watchOS 9 as Apple appears to only support circular complications on that face now:

The Extra Large watch face has long been a great way for people to see the time in an extra large format. And it supports a single, large circular complication. - WWDC22: "Go further with Complications in WidgetKit" @ ~ 5m 45s

I experimented with a new WidgetKit based complication extension on a Loop fork here but am running into roadblocks accessing LoopDataManager to build timeline entries and am unable to spend much more time on this at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions