-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Feature Description
Widgets should support server-driven updates, not via push notifications but through HTTP requests sent to a Node.js service running Voltra. It should be possible to configure Voltra to include additional data in these requests, such as access tokens for identifying the user on the server.
Problem Statement
In some cases, we want our widgets to update themselves regularly - say, every day. We don't want to ask users to open the app daily just to trigger an update. There should be a way for widgets to pull updates from a remote service automatically.
Proposed Solution
We can reuse Voltra's existing SSR capabilities. What's missing is the client-side part. On iOS, the TimelineProvider backing widgets can send HTTP requests, so this part should be straightforward. Android is trickier, as we need to spawn a background service, but it should be doable.
Alternatives Considered
No response
Current Library Version
v1.1.2
Implementation
- I would be willing to submit a pull request for this feature
Additional Context
No response