handleLiveActivityClick

fun handleLiveActivityClick(intent: Intent?, openDeepLink: Boolean = true): String?

Handles a Live Activity notification click from the background.

Call this from Activity.onCreate() and Activity.onNewIntent() alongside handleBackgroundNotificationClick.

When the click carries a deep link it is opened through notificationHandler (the same routing used for regular push clicks) unless openDeepLink is false — pass false to handle the returned link yourself.

Return

The deep link string if this was a Live Activity click, null otherwise.

Parameters

intent

The intent received by the activity.

openDeepLink

Whether the SDK should open the deep link itself.