Files
orca/mobile/index.js
T
Neil c8b6d38bd4 fix(ci): keep mobile localization out of desktop-only test installs (#35576)
Load the Hermes plural-rules polyfill from the phone app entry instead of
mobile-i18n, and transform mobile-i18n and its catalog loader without the
Expo tsconfig in root vitest.
2026-10-28 19:06:34 -07:00

11 lines
653 B
JavaScript

// Before any module that builds i18next plural rules; kept out of mobile-i18n so desktop tests need no mobile deps.
import './src/i18n/plural-rules-polyfill'
// Headless notification launches do not mount the router layout.
import './src/notifications/push-background-dismissal'
import { loadPairedE2EENativeBindings } from './src/transport/paired-e2ee-native-bindings'
import { providePairedE2EENativeBindings } from './src/transport/paired-e2ee-native-codec'
import 'expo-router/entry'
// Why here: only the app entry may load native modules; tests and desktop code reach the transport.
providePairedE2EENativeBindings(loadPairedE2EENativeBindings)