diff --git a/example/package-lock.json b/example/package-lock.json
index a6c0aec2..a1d275c3 100644
--- a/example/package-lock.json
+++ b/example/package-lock.json
@@ -5201,9 +5201,9 @@
"license": "MIT"
},
"node_modules/customerio-reactnative": {
- "version": "6.4.0",
+ "version": "6.5.2",
"resolved": "file:../customerio-reactnative.tgz",
- "integrity": "sha512-zecDKrOc6EXHFdC04KLqiTeYTBRmV0cFEGEhTzVn2+wjskKFy8kxMKN/5yAxXi7uMyO08AYM4nuckKfn5ayZjw==",
+ "integrity": "sha512-rNij5E016mf4wUwMmsSM9/VSsCxOUU2sVwUvsXfWV24qKyXhqzKyifEZs17APbfzkz1DmaJbtmMPJ49DzdS3mA==",
"hasInstallScript": true,
"license": "MIT",
"engines": {
diff --git a/example/src/App.tsx b/example/src/App.tsx
index 2a950efb..0826908e 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -36,6 +36,10 @@ export default function App({ appName }: { appName: string }) {
? {
Home: 'home',
Settings: 'settings',
+ // Inbox screens are signed-in only: the inbox is per-profile, so an anonymous
+ // deep link should land on Login rather than an empty inbox.
+ 'Inbox Messages': 'inbox-messages',
+ 'Visual Inbox': 'visual-inbox',
}
: {
Login: 'login',
diff --git a/example/src/navigation/props.ts b/example/src/navigation/props.ts
index f7e24907..660a0482 100644
--- a/example/src/navigation/props.ts
+++ b/example/src/navigation/props.ts
@@ -12,6 +12,7 @@ export const CustomDeviceAttrScreenName = 'Device Attributes' as const;
export const InternalSettingsScreenName = 'Internal Settings' as const;
export const InlineExamplesScreenName = 'Inline Examples' as const;
export const InboxMessagesScreenName = 'Inbox Messages' as const;
+export const VisualInboxScreenName = 'Visual Inbox' as const;
export const LocationScreenName = 'Location' as const;
export type NavigationStackParamList = {
@@ -25,6 +26,7 @@ export type NavigationStackParamList = {
[InternalSettingsScreenName]: undefined;
[InlineExamplesScreenName]: undefined;
[InboxMessagesScreenName]: undefined;
+ [VisualInboxScreenName]: undefined;
[LocationScreenName]: undefined;
};
diff --git a/example/src/screens/content-navigator.tsx b/example/src/screens/content-navigator.tsx
index 7a3b420e..400693fd 100644
--- a/example/src/screens/content-navigator.tsx
+++ b/example/src/screens/content-navigator.tsx
@@ -11,6 +11,7 @@ import {
NavigationStackParamList,
SettingsScreenName,
TrackScreenName,
+ VisualInboxScreenName,
} from '@navigation';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { screenStylingOptions } from '@utils';
@@ -27,6 +28,7 @@ import {
LogingScreen,
SettingsScreen,
TrackScreen,
+ VisualInboxScreen,
} from '@screens';
import { Storage } from '@services';
@@ -130,6 +132,14 @@ export const ContentNavigator = ({ appName }: { appName: string }) => {
headerBackVisible: true,
}}
/>
+
+