Skip to content

UIScene life cycle implementation #431

@davidzampier

Description

@davidzampier

Hello everyone

According to this Apple Technote, the UIScene life cycle will be required in the next major iOS release following iOS 26. However, the current SDK documentation does not provide guidance on the proper way to adopt it with mParticle.

At the moment, our integration relies on the UIApplication Delegate Proxy to intercept key application life-cycle events and handle features such as deep link navigation and user activities. Once the app implements a SceneDelegate, many of these events are handled there instead of in the UIApplication.delegate, meaning they are no longer automatically forwarded to the mParticle SDK.

Additionally, several UIApplicationDelegate methods — including application(_:open:options:) — are now marked as deprecated, along with other key entry points.


Questions

Given these upcoming changes, I’d like to clarify a few points:

  1. Integration approach
    What’s the correct way to integrate mParticle using the UIScene life cycle?

    • Is there any documentation or example for UIScene-based setups?
    • Should we disable the delegate proxy and manually forward each event to the SDK?
  2. Handling launch options
    In application(_:didFinishLaunchingWithOptions:), the launchOptions parameter becomes nil after adopting SceneDelegate.
    Instead, that data is now available in scene(_:willConnectTo:options:) under connectionOptions.

    • If needed, how should this data be forwarded to mParticle to ensure proper handling of app launches from shortcuts, push notifications, or similar entry points?
  3. API alignment
    UISceneDelegate methods often provide different types and data structures.

    • Will the SDK be updated to support the UIScene life cycle natively or to match the UISceneDelegate API?
    • If not, is there recommended guidance on how to forward SceneDelegate events without losing contextual information?

This change in Apple’s app life-cycle model will soon affect all iOS apps, so having an official recommendation or migration guide from mParticle would be really helpful for developers preparing for iOS 27 and beyond.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions