Skip to content

Conversation

ChrisMattew
Copy link
Collaborator

@ChrisMattew ChrisMattew commented Oct 14, 2025

Warning

Depends on #7412

Short description

This PR adds navigation to the push notification activation screen (when notifications are not yet enabled) after a successful activation of the SEND service during the app startup SEND engagement flow (see more details in #7412)

List of changes proposed in this pull request

  • Moved the push notification engagement screen from ts/features/pn/aar/screen/SendAARPushEngagementScreen.tsx to ts/features/pushNotifications/screens/PushNotificationEngagementScreen.tsx to make it reusable across multiple flows. The screen now expects a flow route param to populate Mixpanel events correctly.
  • Moved the useAARpushEngagementScreenLogic hook to ts/features/pushNotifications/hooks/usePushNotificationEngagement.tsx, now taking a flow parameter for Mixpanel events.
  • Registered PushNotificationEngagementScreen in AuthenticatedStackNavigator under NOTIFICATIONS_ROUTES.PUSH_NOTIFICATION_ENGAGEMENT.
  • Added navigation to the push notification activation flow (when notifications are not yet enabled) after a successful SEND activation.
  • Updated related unit tests.

Demo

SEND activation error

iOS Android
send-activation-error.mp4
send-activation.error.mp4

Push already enabled

iOS Android
push-not-shown-if-already-enabled.mp4
push-not-shown-if-already-enabled.mp4

Only SEND activation

iOS Android
send-enabling-without-push-enabling.mp4
send-enabling-without-push-enabling.mp4

SEND & Push activation

iOS Android
send-and-push-activation.mp4
send-and-push-activation.mp4

Push Notification engagement dismiss

iOS Android
dismiss-push-notificationengagement-screen.mp4
dismiss-push-notificationengagement-screen.mp4

How to test

Follow the "How to test" section described in this PR, then repeat the steps shown in the Demo videos.

ChrisMattew and others added 30 commits September 26, 2025 11:52
…OperationResultScreenContent"

This reverts commit bd9821f.
…idth prop type in the action props"

This reverts commit f963ccc.
Copy link

dpulls bot commented Oct 16, 2025

🎉 All dependencies have been resolved !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants