https://github.com/sardarsaqibkhan/ios_live-activity
iOS live activity demo project
https://github.com/sardarsaqibkhan/ios_live-activity
dynamicisland ios ios-live-activies liveactivities liveactivity lockscreen-live-activies swift swiftui
Last synced: 11 months ago
JSON representation
iOS live activity demo project
- Host: GitHub
- URL: https://github.com/sardarsaqibkhan/ios_live-activity
- Owner: SardarSaqibKhan
- Created: 2024-12-18T08:18:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-18T08:29:56.000Z (over 1 year ago)
- Last Synced: 2025-06-07T00:04:58.268Z (about 1 year ago)
- Topics: dynamicisland, ios, ios-live-activies, liveactivities, liveactivity, lockscreen-live-activies, swift, swiftui
- Language: Swift
- Homepage: https://developer.apple.com/design/human-interface-guidelines/live-activities
- Size: 5.06 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iOS_Live-Activity
In iOS, **Live Activities** offer a powerful way to display real-time dynamic data on the Lock Screen and in the Dynamic Island (on supported devices). This feature is especially useful for keeping users updated on live events or activities, even when they are not actively using the app.
---
### Key Features of Live Activities in the Project:
1. **Real-Time Updates:**
- Users can see live updates for ongoing activities (e.g., food delivery, workout progress) directly on the Lock Screen or Dynamic Island.
2. **In-App Management:**
- Users can create, update, or end a Live Activity directly from within the app.
3. **Push Notification Integration:**
- With **iOS 17** and enhanced in **iOS 18**, Apple introduced support for push notifications to manage Live Activities:
- Live Activities can now be updated or ended from the server side using push notifications.
- This eliminates the need for user interaction, making it more seamless for real-time server-driven updates.
4. **Intent Integration:**
- By integrating **Intents** into the Live Activity, users can interact with it directly (e.g., buttons or actions) without needing to open the app.
- This functionality enhances user engagement by allowing specific tasks or interactions to be completed directly from the Lock Screen or Dynamic Island.
### Example Use Cases:
- A food delivery app can allow users to:
- View real-time order status (e.g., “Your order is 5 minutes away”).
- Cancel or modify the order directly from the Live Activity.
- A fitness app can show workout progress with options to pause or stop the workout without entering the app.
### Benefits:
- Enhances user experience by providing real-time updates and actionable insights.
- Reduces friction by allowing interactions outside the app.
- Leverages server-driven updates to ensure data remains current without user intervention.
---
## Screenshots