Live activity as alternative to location services
- Dominant language
- Swift
- Stars
- 6.9k
- Forks
- 746
- PR merge metrics
- No merged PRs in 30d
Description
### Discussed in https://github.com/blinksh/blink/discussions/2112
Originally posted by **HealsCodes** April 8, 2025
I just wanted to pitch this in as it has proven to be a viable way to keep connections running long-term and is used by a number of popular terminal emulators on the AppStore like Termix and Terminus.
Right now, to ensure our connections survive long-term with Blink in the background or the device locked we have to enable locations services via `geo track`. It’s a great idea and works well but it also add a somewhat pointless extra battery drain.
I understand that it was pretty much the only solution to this when Blink was first conceived but on newer iOS / iPadOS version there’s an easier alternative: Live Activities.
If an application registers a Live Activity iOS will keep the app active and running in the background for as long as the user doesn’t dismiss the Live Activity.
A lot of terminal emulators now employ this - some in addition to a location fallback - as a stable means to keep SSH connections running for days at end or longer.
Would be great if we could see this added in a future Blink.sh update as an alternative to geo location!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining the existing `geo track` path used to keep connections alive and the iOS Live Activities requirements described in the issue. Determine how Live Activities could serve as an alternative without requiring location services, then verify that connections remain active while the device is locked and that the user can dismiss the activity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100