Skip to content

chore: Enable Live Notifications feature - #623

Merged
mahmoud-elmorabea merged 2 commits into
mainfrom
feature/live-notifications
Jul 30, 2026
Merged

chore: Enable Live Notifications feature#623
mahmoud-elmorabea merged 2 commits into
mainfrom
feature/live-notifications

Conversation

@mahmoud-elmorabea

@mahmoud-elmorabea mahmoud-elmorabea commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Enable Live Notifications feature


Note

Medium Risk
New cross-platform messaging surface with native SDK upgrades, push-module coupling, and required iOS host wiring (widget extension, URL forwarding); misconfiguration can break builds or lose attribution rather than affecting core auth/data paths.

Overview
Adds Live Activities (iOS) and Live Notifications (Android) to the React Native SDK so apps can start, update, and end live UI from JavaScript via CustomerIO.liveActivities, with configuration under CioConfig.liveNotifications.

The public surface includes typed payloads for Segments and Countdown Timer templates plus a custom type (liveNotifications.customType on Android; Widget Extension + CIOCustomAttributes on iOS). Native Android bridges through the FCM push module (NativeLiveActivitiesModule), applies branding/types at init, and supports an optional CustomerIOLiveNotificationsCallback for custom notifications. iOS adds an optional liveactivities CocoaPods subspec, Swift/ObjC TurboModule wiring, in-session activity tracking for update/end, and documents NativeLiveActivities.handleWidgetUrl in AppDelegate for tap attribution and deep links.

Native SDK versions are bumped (Android 4.20.0, iOS 4.7.0). The example app gains a Live Activities screen, iOS Widget Extension (built-in + rideshare custom), Android rideshare callback in MainApplication, and README setup notes.

Reviewed by Cursor Bugbot for commit 93446a5. Bugbot is set up for automated code reviews on this repo. Configure here.

…Activities (#617)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@mahmoud-elmorabea mahmoud-elmorabea self-assigned this Jul 30, 2026
@mahmoud-elmorabea
mahmoud-elmorabea requested a review from a team as a code owner July 30, 2026 08:17
@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Sample app builds 📱

Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.


  • iOS APN: 623.2.0 (29756991)
  • Android APN: 623.2.0 (29756991)

Both native SDKs have shipped, so the pins that pointed at unreleased builds
become plain versions: the iOS podspec version is 4.7.0, in package.json and in
the sample widget's own pods, and Android is 4.20.0. Drops the CocoaPods
git/branch overrides this feature added — the app and notification-service
targets resolve those pods through the wrapper podspec, and only the widget
extension, which cannot link the wrapper pod, still names them.

Adds mavenCentral to the sample's repositories, which is what makes a released
Android version resolvable there; the block otherwise declared only mavenLocal
and a snapshots repository. Every pre-existing way of consuming an unreleased
SDK is left as it is on main.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mahmoud-elmorabea
mahmoud-elmorabea merged commit 00a278f into main Jul 30, 2026
20 checks passed
@mahmoud-elmorabea
mahmoud-elmorabea deleted the feature/live-notifications branch July 30, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants