Skip to content
Discussion options

You must be logged in to vote

The home screen widgets are built with WidgetKit and, unfortunately, that appears to be out of scope for Capacitor. The widgets themselves are comprised of SwiftUI views (and a timeline of archived data states) which the system manages. There is no web view available. From your Capacitor app, you would need a plugin to which you can pass data for rendering. But all the real work would be in transforming that data into a timeline of native data structures and building the UI to display it in a native app extension. That's all highly specific to your app.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dotNetkow
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants