mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
* Restore mobile push for delivery validation * fix(mobile): register push task before headless startup * Add authenticated mobile push test and fix iOS release entitlements * Mock push-test transport in notification consent tests * Fix slept workspace test for structured remount result * Fix mobile notification review findings * Pad Android notification icon to prevent square cropping * fix(mobile): present visible Android data pushes in foreground * test: use deterministic clock for teardown deadline * fix(mobile): present foreground pushes through Expo public APIs * fix(mobile): check push eligibility before foreground scheduling * fix(mobile): register push from shared host connection lifecycle
23 lines
1007 B
TypeScript
23 lines
1007 B
TypeScript
import { NotificationDisplayTest } from '../src/settings/notification-display-test'
|
||
import { NativeNotificationDeliverySettings } from '../src/settings/native-notification-delivery-settings'
|
||
import { useRouter } from 'expo-router'
|
||
import NotificationsScreen from '../src/settings/notification-settings-screen'
|
||
import { nativeNotificationSettingsOperations } from '../src/settings/native-notification-settings-operations'
|
||
export default function NativeNotificationsRoute() {
|
||
const router = useRouter()
|
||
return (
|
||
<NotificationsScreen
|
||
operations={nativeNotificationSettingsOperations}
|
||
onBack={() => router.back()}
|
||
description="Get agent alerts even when the app is closed. Delivered through Orca’s push service and Apple or Google."
|
||
>
|
||
{(enabled) => (
|
||
<>
|
||
<NativeNotificationDeliverySettings enabled={enabled} />
|
||
<NotificationDisplayTest onTroubleshoot={() => router.push('/troubleshoot')} />
|
||
</>
|
||
)}
|
||
</NotificationsScreen>
|
||
)
|
||
}
|