Table of Contents

iOS Live Activities in React Native: A Complete Guide

A comprehensive step-by-step guide to building real-time Lock Screen & Dynamic Island experiences

Author

Yuvraj Kumar
Yuvraj KumarSoftware Engineer III

Date

Nov 24, 2025

Understanding Live Activities & Dynamic Island

Live Activities change how users engage with time-sensitive information. They bring real-time updates straight to the iPhone's Lock Screen and Dynamic Island. For flight-tracking apps, this means you do not have to keep opening them to check departure gates, delays, or boarding status.

Dynamic Island Integration (iPhone 14 Pro and later) provides three distinct presentation modes:

  • Minimal: Single icon or short text (gate number)
  • Compact: Leading and trailing elements (flight status + countdown)
  • Expanded: Full, detailed view with interactive elements

In flight-tracking scenarios, users can monitor boarding countdowns, receive gate-change notifications, and access quick actions like viewing boarding passes—all without unlocking their device.

iOS flight tracking app showing live flight status and travel alerts

Key Benefits:

  • 40% higher engagement than traditional push notifications
  • Persistent visibility during critical travel moments
  • Seamless integration with iOS design language
  • Real-time updates even when the app is terminated

Project Configuration Requirements

Push Notification Setup

Live Activities depend on Apple Push Notification Service (APNs) for real-time updates. Configure push notifications first:

  1. In Xcode: Select your app target → Signing & Capabilities
  2. Add Capability: Click "+" and select "Push Notifications"
  3. Verify Entitlements: Ensure aps-environment is properly configured

Xcode configuration for iOS app signing and remote notification capabilities

Info.plist Configuration

Enable Live Activities in your main app's Info.plist:

The NSSupportsLiveActivitiesFrequentUpdates key is essential for flight tracking as it allows updates more frequently than the standard limit—critical for gate changes and boarding updates.

Widget Extension Target

Create a separate Widget Extension for Live Activities:

  1. Add Target: File → New → Target → Widget Extension
  2. Configuration: Name it FlightTrackerWidget, include Live Activity intent
  3. Build Settings: Set deployment target to iOS 16.1+, configure App Groups for data sharing

Template selection pop-up displayed in a desktop application for iOS App

Build Phases Critical Step

For React Native compatibility, verify the Build Phases configuration:

  • Navigate to Build Phases Embed App Extensions
  • Ensure "Copy only when installing" is unchecked

Xcode build settings displaying Live Activity extension embedding options

This step is crucial for Live Activities to function properly in React Native environments.

Live Activity Widget Structure

Core SwiftUI Implementation

The Widget Extension contains several key files, but focus on these essential components:

FlightActivityAttributes.swift (Data Structure example ):

FlightActivityWidget.swift (UI Implementation example ):

Understanding the Architecture:

  • ActivityAttributes: Defines both static data (flight details) and dynamic state (status, gate)
  • Lock Screen Layout: Primary real estate for detailed information
  • Dynamic Island Regions: Different areas serve specific purposes (leading for status, trailing for gate info)

Native Module Bridge Implementation

To control Live Activities from React Native, create a bridge using three essential files:

1. LiveActivityModule.swift (Core Logic)

2. RCTFlightActivityModule.m (Objective-C Bridge)

3. FlightActivity-Bridging-Header.h

Critical Setup: Add the bridging header file path in Build Settings → Swift Compiler - General → Objective-C Bridging Header.

React Native Service Integration

FlightActivityService.ts

Creating a service to manage Live Activities from JavaScript:

App Integration (React based Example)

Push Notifications Architecture

Backend Implementation (Node.JS based example)

Live Activities can receive updates even when your app is completely terminated through APNs:

Push Notification Flow:

  1. App starts Live Activity and receives a unique push token
  2. Token sent to the backend and stored with the activity ID
  3. Backend monitors flight data changes
  4. Real-time updates are sent via APNs to a specific activity
  5. iOS automatically updates Live Activity UI

Backend to APNs to Device Live Activities flow
Backend to APNs to Device Live Activities flow

Key Flow Benefits

  • Updates work even when the app is completely closed
  • Each Live Activity has a unique push token
  • No polling required - real push notifications
  • Automatic UI refresh by the iOS system
  • Battery efficient - no background processing
  • Multiple activities can run simultaneously
Example APNs Payload structure :

AppIntents Implementation

Adding interactive buttons to your Live Activity:

Integration in Live Activity UI

React Native Deep Link Handling:

Push-to-Start Implementation (iOS 17.2+)

Push-to-Start allows your backend to initiate Live Activities without user interaction:

Backend Implementation

Strategic Use Cases:

  • Auto-activate tracking 24 hours before departure
  • Begin monitoring immediately after successful booking
  • Start the activity when the gate is assigned
  • Initiate during the mobile check-in process

Business Impact & Implementation Strategy

Engagement Metrics

Live Activities create measurable business value through enhanced user engagement and new revenue streams:

User Engagement:

  • 40% higher interaction rates vs traditional push notifications
  • 60% reduction in app abandonment during flight delays
  • 50% higher session duration when Live Activities are active

Conversion Impact:

  • 30% increase in ancillary service bookings (seat upgrades, meals)
  • 45% higher click-through rates on cross-sell offers
  • 20% reduction in customer support queries

Conclusion

iOS Live Activities represent a significant evolution in mobile user experience, particularly for time-sensitive applications like flight tracking. The technical implementation requires coordination between native iOS development and React Native, but the user engagement and business benefits justify the complexity.

Key Success Factors:

  1. User-Centric Design: Focus on displaying only essential information that users need at critical moments
  2. Technical Reliability: Robust error handling and graceful degradation for network issues
  3. Performance Optimization: Minimize battery impact through intelligent update strategies
  4. Business Integration: Leverage Live Activities for revenue generation, not just user experience
The investment in Live Activities technology positions your application at the forefront of mobile user experience while creating new opportunities for user engagement and revenue generation.

Note - 
This guide reflects best practices as of September 2025 for iOS 17.5+ and React Native 0.74+. Also, I suggest always referring to Apple's latest documentation for current APIs and requirements.

SHARE ON

Related Articles

Dive deep into our research and insights. In our articles and blogs, we explore topics on design, how it relates to development, and impact of various trends to businesses.