Skip to content

feat(inbox): React Native Visual Notification Inbox - #625

Merged
mahmoud-elmorabea merged 4 commits into
mainfrom
feat/overlay-inbox
Jul 30, 2026
Merged

feat(inbox): React Native Visual Notification Inbox#625
mahmoud-elmorabea merged 4 commits into
mainfrom
feat/overlay-inbox

Conversation

@mahmoud-elmorabea

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

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Large cross-platform native UI + event-forwarding surface with behavior change when inbox listeners are registered (SDK suppresses default actions); depends on unreleased or locally pinned MessagingInbox artifacts and new Compose/SwiftUI hosting paths.

Overview
Adds native Visual Notification Inbox UI to the React Native SDK: NotificationInboxBellView (bell + SDK-owned panel; native overlay under the hood) and NotificationInboxView (inline Jist message list), wired through Fabric codegen and new Android Compose / iOS SwiftUI hosting (including VC containment and deferred Compose attach).

Extends CustomerIO.inAppMessaging.registerInboxEventListener with InboxMessageEvent / InboxEventType, native register/unregister on the in-app module, and ref-counted JS subscriptions so the host owns inbox action navigation while a listener is active (SDK default handling is suppressed). Adds Jest coverage for that bridge.

Build/integration: pulls in messaging-inbox on Android (Compose enabled), CustomerIO/MessagingInbox on the main pod, documents local mavenLocal spike setup, example Visual Inbox screen, and stops the rich-push pod from compiling the full RN bridge into the NSE.

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

mahmoud-elmorabea and others added 3 commits July 30, 2026 16:22
…stener bridge (#615)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The native Visual Notification Inbox shipped, so every temporary pin the
wrapper carried while it was unreleased can go:

- package.json cioNativeiOSSdkVersion "= 4.6.1" -> "= 4.7.0"
- podspec: standalone CustomerIOMessagingInbox -> CustomerIO/MessagingInbox,
  now that the umbrella declares the subspec, matching every other module.
  This also clears the TODO noting that `pod lib lint` could not pass.
- android: feat-overlay-inbox-SNAPSHOT -> 4.20.0, snapshot repo dropped
- example Podfile: branch-override block dropped; trunk resolution handles the
  transitive TrackingMigration the override helper could not

Drops core library desugaring from the sample. It was added believing the
inbox and Jist needed it, which is no longer true: the released
messaging-inbox 4.20.0 aar reports coreLibraryDesugaringEnabled=false, neither
its classes nor Jist 0.1.0's reference java/time, and the sample builds
without it. Leaving it in would imply an integration requirement customers do
not have. Java 17 compileOptions stay, since the native modules are compiled
at 17.

Verified: all io.customer.android modules resolve at 4.20.0 from Maven Central
and :app:assembleDebug succeeds with no desugaring.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
# Conflicts:
#	example/src/navigation/props.ts
#	example/src/screens/content-navigator.tsx
#	src/types/index.ts
@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 FCM: 625.4.0 (29757080)
  • Android APN: 625.4.0 (29757080)

@socket-security

socket-security Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​jest@​29.7.01001006889100

View full report

@mahmoud-elmorabea
mahmoud-elmorabea marked this pull request as ready for review July 30, 2026 13:47
@mahmoud-elmorabea
mahmoud-elmorabea requested a review from a team as a code owner July 30, 2026 13:47

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2703fbb. Configure here.

@mahmoud-elmorabea
mahmoud-elmorabea merged commit 3beec5f into main Jul 30, 2026
18 checks passed
@mahmoud-elmorabea
mahmoud-elmorabea deleted the feat/overlay-inbox branch July 30, 2026 15:57
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