Skip to content

Instantly share code, notes, and snippets.

View RndmCodeGuy20's full-sized avatar
:shipit:
Somewhere, between the sacred silence and sleep...

Shantanu Mane RndmCodeGuy20

:shipit:
Somewhere, between the sacred silence and sleep...
View GitHub Profile
version: '3'
services:
db:
image: postgres:15-alpine
container_name: dyno-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: dyno_db
@RndmCodeGuy20
RndmCodeGuy20 / Live_Activities.md
Created August 11, 2025 14:35
iOS 18 Live Activity With Intents

🚀 Building Live Activities in iOS (Manual & Push Notification Updates)

Live Activities in iOS let you keep important, glanceable information right on the Lock Screen or Dynamic Island (on iPhone 14 Pro and newer) — perfect for things like order tracking, sports scores, or ride-sharing updates.

In this guide, we’ll build a pizza order tracking example using SwiftUI, ActivityKit, and WidgetKit, where we’ll update the Live Activity both manually and via push notifications.

We’ll cover:

  1. Project Setup
  2. Creating Attributes (Shared Data Model)