92 questions
1
vote
1
answer
72
views
How to get iOS LiveActivity to change status to timer completed
I'm using the timerInterval for the live activity however when the timer expires it doesn't change its status to completed state and I couldn't find a listener to call that
Text(timerInterval: Date().....
0
votes
1
answer
131
views
Why does my iOS Live Activity countdown widget crash when its ActivityStatus changes to stale?
I am creating a Live Activity widget that counts down to a future event. When starting the Live Activity, I set its staleDate to be equal to the date of the future event. This allows me to update the ...
0
votes
0
answers
85
views
Flutter Live Activities not showing on Lock Screen or Dynamic Island
I’m trying to display a Live Activity + Dynamic Island in my Flutter app using the live_activities plugin.
A simple Live Activity shows correctly, but when I switched to a more detailed Live Activity ...
0
votes
0
answers
94
views
iOS Live Activities + multi-phase timers (Pomodoro / boxing rounds) without push notifications – is proper sync even possible?
iOS Live Activities + multi-phase timers (Pomodoro / boxing rounds) without push notifications – is proper sync even possible?
Hey everyone 👋
I’m building a Pomodoro timer and a boxing/round timer in ...
0
votes
0
answers
224
views
How to obtain ios live activity pushToUpdate token?
I’ve implemented a Live Activity for my React Native application. When the activity is started from within the app, I’m able to execute the pushTokenUpdates asynchronous sequence from the widget ...
1
vote
1
answer
125
views
How to make text span full width without truncation in Dynamic Island expanded view using SwiftUI?
Expected:
Curernt:
I'm building a Live Activity with Dynamic Island support for my iOS app. In the expanded view, I want to display an icon on the left with two text labels stacked vertically to its ...
1
vote
0
answers
91
views
Issue LiveActivity Timer Layout
I'm trying to make a simple timer in a LiveActivity on iOS but I keep having some issues with a layout when I use Text(timerInterval:) solution.
If I use Text(timerInterval:) this is how it looks in ...
0
votes
0
answers
143
views
How can I start a live activity after my SwiftUI app's CLLocationManagerDelegate is notified that the user entered/exited a region
According to Apple's documentation, you cannot start a Live Activity in the background: https://developer.apple.com/documentation/activitykit/activity/request(attributes:content:pushtype:) I have ...
0
votes
0
answers
126
views
Flutter clean destroys flutter live activities functionality
I added flutter live activities into my codebase. I did everything from documentation and live activites were working for me. I even created multiple live activites, everything was working.
At the end ...
0
votes
0
answers
144
views
Repeating Timer countdown in IOS live activity
I need to implement a countdown which repeats as soon as it hits its lower-bound (00:00). The catch is: it should run and repeat itself in the background or inactive app state.
Text(Date(...
1
vote
0
answers
156
views
PlatformException LIVE_ACTIVITY_ERROR launching live activity with live_activities Flutter plugin on iOS(com.apple.ActivityKit.ActivityInput error 0.)
I'm developing a Flutter app and trying to implement iOS Live Activities using the live_activities plugin. However, when I attempt to start a Live Activity, I get the following error:
...
2
votes
2
answers
1k
views
Is push-to-start token for Live Activity single use?
I'm currently seeing that OS gets a new push-to-start token immediately after receiving the first notification.
Should my server immediately invalidate the push-to-start token upon usage?
Or ...
1
vote
0
answers
118
views
Live Activity Dismiss on Termination
I just kill live activity on application Termination with the code below.
func applicationWillTerminate(_ application: UIApplication) {
let semaphore = DispatchSemaphore(value: 0)
Task....
1
vote
1
answer
628
views
Live activity is created by not showing in notification center or Dynamic Island - Flutter
I have set up Live Activities using the live_activities package. I'm configuring flavors for a SaaS app, where each flavor represents a different organization. I don't want to set up separate App ...
1
vote
1
answer
356
views
Live Activity Update Triggers Sound and Vibration Despite sound: "nil" Setting
When updating a Live Activity via OneSignal’s API, the notification sound plays even if sound: "nil" or ios_sound: "nil" is set in the request payload. Additionally, if the device ...