Questions tagged [widgetliveactivity]
21 questions
0
votes
1 answer
is it possible to update live activity view after performing LiveactivityIntent action?
I need to update the live activity's view (like updating the text or remove and add buttons) after performing the intent action. For widget we have timeline mechanism to reload the UI. In apple document they mentioned that Liveactivity follows same…

iroh
- 23
- 5
0
votes
1 answer
SwiftUI - ProgressBar inside Live Activity
I am trying to add a simple visual progress bar to my live activity on lock screen or in Digital Island but I can't find a way to trigger progress calculation update. Seems like Timer nor @State work inside of the live activity. Its weird because…

Jared_M
- 547
- 1
- 5
- 13
0
votes
1 answer
Display ActivityKit Live Activity View using local push notifications when app is in the background
I am trying to create an app with live activity showing when user enters and exit a region. I have location manager setup and region setup in my app. App sends local push notification when user enters and exits a region. I want to show live activity…

Faheem Rahman
- 343
- 2
- 10
0
votes
0 answers
iOS live activities click tracking and update tracking
I'm using live activities in my iOS app. All setups are done and the live activities feature is working fine. But I'm facing a problem with tracking the live activities.
When an update is received on the device by token-based push, How can we track…

Abhishek Ranjan
- 1
- 1
0
votes
0 answers
Is GeometryReader (SwiftUI) in a Live Activity broken?
I'm working on a LiveActivity for an iOS 16 app using SwiftUI. I can't figure out what's going on with the GeometryReader. I'm trying to get the dimensions of the entire LiveActivity view.
In Example (A) below, I've got a VStack which is set to take…

Hunter
- 1
- 2
0
votes
0 answers
Live Activity View does not appear when there is more widgets in WidgetBundle
My App use 8 widgets. And one of them is only Live Activity (without widget extension).
The following composition of widgets works pretty fine. Simply there is only one widget attached
@main
struct FirstWidgetBundle: WidgetBundle {
…

Bartłomiej Semańczyk
- 59,234
- 49
- 233
- 358