mirror of
https://github.com/stablyai/orca.git
synced 2026-09-30 08:03:12 +00:00
* feat(mobile): deliver native push notifications from paired desktops * fix(mobile): retry push capability probes * fix(mobile): cancel retired push capability probes * fix(mobile): ignore stale push reconciliations * fix(mobile): type capability probe at its boundary * fix(notifications): route mobile push taps to the originating pane * Require explicit mobile push-service consent on upgrade
17 lines
790 B
TypeScript
17 lines
790 B
TypeScript
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} />}
|
||
</NotificationsScreen>
|
||
)
|
||
}
|