diff --git a/modules/expo-background-notification-handler/src/BackgroundNotificationHandlerProvider.tsx b/modules/expo-background-notification-handler/src/BackgroundNotificationHandlerProvider.tsx index 6ecdd1d476..e85834cdbf 100644 --- a/modules/expo-background-notification-handler/src/BackgroundNotificationHandlerProvider.tsx +++ b/modules/expo-background-notification-handler/src/BackgroundNotificationHandlerProvider.tsx @@ -25,6 +25,7 @@ export function BackgroundNotificationPreferencesProvider({ const [preferences, setPreferences] = React.useState({ playSoundChat: true, + showAvatarChat: false, // @TODO probably want this to default to true }) React.useEffect(() => { diff --git a/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts b/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts index b74148db48..267deaaad9 100644 --- a/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts +++ b/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandler.types.ts @@ -38,4 +38,5 @@ export type ExpoBackgroundNotificationHandlerModule = { // Don't add them until the native logic also handles the notifications for those preference types. export type BackgroundNotificationHandlerPreferences = { playSoundChat: boolean + showAvatarChat: boolean } diff --git a/src/screens/Messages/Settings.tsx b/src/screens/Messages/Settings.tsx index b1c52582f0..cae1811307 100644 --- a/src/screens/Messages/Settings.tsx +++ b/src/screens/Messages/Settings.tsx @@ -146,6 +146,36 @@ export function MessagesSettingsScreen({}: Props) { + + Notification Sounds + + + + + + + Show + + + + + + Hide + + + + + )}